1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-19 01:24:05 +01:00

functions.php: trim

This commit is contained in:
Zankaria 2024-03-11 10:31:19 +01:00
parent e61ed35aa0
commit 09dc44ec40

View File

@ -428,10 +428,10 @@ function rebuildThemes($action, $boardname = false) {
$board = $_board; $board = $_board;
// 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']); init_locale($config['locale']);
} }
if (PHP_SAPI === 'cli') { if (PHP_SAPI === 'cli') {
echo "Rebuilding theme ".$theme['theme']."... "; echo "Rebuilding theme ".$theme['theme']."... ";
@ -450,8 +450,8 @@ 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']); init_locale($config['locale']);
} }
} }