1
0
Fork 0

fix Admin Theme reload

This commit is contained in:
Philipp Holzer 2019-08-17 19:55:14 +02:00
parent e8561b480b
commit 7e82f8dc2e
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90

View file

@ -26,8 +26,8 @@ class Index extends BaseAdminModule
switch ($_GET['action']) {
case 'reload':
foreach ($allowed_themes as $theme) {
Theme::uninstall($theme['name']);
Theme::install($theme['name']);
Theme::uninstall($theme);
Theme::install($theme);
}
info('Themes reloaded');