Browse Source

... (minor fix for locales)

pull/40/head
czaks 9 years ago
parent
commit
d690567b44
  1. 4
      inc/functions.php

4
inc/functions.php

@ -358,7 +358,7 @@ function rebuildThemes($action, $boardname = false) {
// Reload the locale
if ($config['locale'] != $current_locale) {
$current_locale = $config['locale'];
init_locale($config['locale'], $error);
init_locale($config['locale']);
}
if (PHP_SAPI === 'cli') {
@ -379,7 +379,7 @@ function rebuildThemes($action, $boardname = false) {
// Reload the locale
if ($config['locale'] != $current_locale) {
$current_locale = $config['locale'];
init_locale($config['locale'], $error);
init_locale($config['locale']);
}
}

Loading…
Cancel
Save