fix Admin Theme reload
This commit is contained in:
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user