... (minor fix for locales)
This commit is contained in:
parent
0062125f5c
commit
fe66c51a19
@ -358,7 +358,7 @@ function rebuildThemes($action, $boardname = false) {
|
|||||||
// Reload the locale
|
// Reload the locale
|
||||||
if ($config['locale'] != $current_locale) {
|
if ($config['locale'] != $current_locale) {
|
||||||
$current_locale = $config['locale'];
|
$current_locale = $config['locale'];
|
||||||
init_locale($config['locale'], $error);
|
init_locale($config['locale']);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (PHP_SAPI === 'cli') {
|
if (PHP_SAPI === 'cli') {
|
||||||
|
Loading…
Reference in New Issue
Block a user