1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-23 17:42:15 -05:00

fix of putenv warning under safe mode, issue #646

This commit is contained in:
Maryana Rozhankivska 2014-04-25 13:25:03 +03:00
parent d151b51c67
commit b6413975c3

View File

@ -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);