mirror of
https://github.com/wallabag/wallabag.git
synced 2025-04-26 19:54:44 +00:00
fix of putenv warning under safe mode, issue #646
This commit is contained in:
parent
d151b51c67
commit
b6413975c3
1 changed files with 4 additions and 4 deletions
|
@ -72,7 +72,7 @@ class Poche
|
|||
|
||||
# l10n
|
||||
$language = $this->user->getConfigValue('language');
|
||||
putenv('LC_ALL=' . $language);
|
||||
@putenv('LC_ALL=' . $language);
|
||||
setlocale(LC_ALL, $language);
|
||||
bindtextdomain($language, LOCALE);
|
||||
textdomain($language);
|
||||
|
|
Loading…
Reference in a new issue