mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-27 11:22:17 -05:00
fix of putenv warning under safe mode, issue #646
This commit is contained in:
parent
d151b51c67
commit
b6413975c3
@ -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 New Issue
Block a user