insert() fixed, #8
git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@139 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
This commit is contained in:
@ -50,7 +50,6 @@ class I18N
|
||||
self::setLang(self::$lang);
|
||||
self::$locale = self::$locales[self::$lang];
|
||||
|
||||
//var_dump(self::$locale);
|
||||
putenv('LANG=' . self::$locale);
|
||||
setlocale(LC_ALL, self::$locale . '.UTF-8');
|
||||
bindtextdomain(self::$domain, PATH . '/' . APP . '/src/i18n/');
|
||||
@ -97,7 +96,6 @@ class I18N
|
||||
return self::$lang;
|
||||
}
|
||||
|
||||
|
||||
static public function setLangs($langs = array())
|
||||
{
|
||||
self::$langs = $langs;
|
||||
|
Reference in New Issue
Block a user