sforkowany z mirror/friendica
fix Admin Theme reload
rodzic
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');
|
||||||
|
|
Ładowanie…
Reference in New Issue