mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-03-01 00:00:49 +01:00
Merge pull request #872 from vichan-devel/RealAngeleno-patch-17
modify themes to use numeric array #871
This commit is contained in:
commit
440e3126c9
@ -31,10 +31,10 @@ function rebuild_themes(string $action, $boardname = false): void {
|
||||
}
|
||||
|
||||
if (PHP_SAPI === 'cli') {
|
||||
echo "Rebuilding theme ".$theme['theme']."... ";
|
||||
echo "Rebuilding theme ".$theme[0]."... ";
|
||||
}
|
||||
|
||||
rebuild_theme($theme['theme'], $action, $boardname);
|
||||
rebuild_theme($theme[0], $action, $boardname);
|
||||
|
||||
if (PHP_SAPI === 'cli') {
|
||||
echo "done\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user