fix Admin Theme reload
This commit is contained in:
parent
e8561b480b
commit
7e82f8dc2e
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue