1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-30 04:42:19 -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 # l10n
$language = $this->user->getConfigValue('language'); $language = $this->user->getConfigValue('language');
putenv('LC_ALL=' . $language); @putenv('LC_ALL=' . $language);
setlocale(LC_ALL, $language); setlocale(LC_ALL, $language);
bindtextdomain($language, LOCALE); bindtextdomain($language, LOCALE);
textdomain($language); textdomain($language);