mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-07 00:14:40 +03:00
Fix wrong defenition of $home_locale global variable
This commit is contained in:
parent
559ec80248
commit
3019cdc831
@ -29,7 +29,7 @@ $mysqlprefix = preg_replace('/[^A-Za-z0-9_$]/', '', $mysqlprefix);
|
||||
|
||||
// test and set default locales
|
||||
$default_locale = locale_pattern_check($default_locale) && locale_exists($default_locale) ? $default_locale : 'en';
|
||||
$home_locale = locale_pattern_check($home_locale) && locale_exists($home_locale) ? $default_locale : 'en';
|
||||
$home_locale = locale_pattern_check($home_locale) && locale_exists($home_locale) ? $home_locale : 'en';
|
||||
|
||||
$locale_cookie_name = 'mibew_locale';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user