fix Admin Theme reload
This commit is contained in:
parent
e8561b480b
commit
7e82f8dc2e
|
@ -26,8 +26,8 @@ class Index extends BaseAdminModule
|
||||||
switch ($_GET['action']) {
|
switch ($_GET['action']) {
|
||||||
case 'reload':
|
case 'reload':
|
||||||
foreach ($allowed_themes as $theme) {
|
foreach ($allowed_themes as $theme) {
|
||||||
Theme::uninstall($theme['name']);
|
Theme::uninstall($theme);
|
||||||
Theme::install($theme['name']);
|
Theme::install($theme);
|
||||||
}
|
}
|
||||||
|
|
||||||
info('Themes reloaded');
|
info('Themes reloaded');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user