mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-22 11:23:45 +01:00
modify themes to use numeric array #871
This commit is contained in:
parent
74959aaed9
commit
47cbbbc972
@ -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