Normalize base URL usage in admin templates

This commit is contained in:
Hypolite Petovan
2022-03-11 22:40:27 -05:00
parent 0c4f1eadb8
commit d15ebb6fd3
11 changed files with 20 additions and 18 deletions

View File

@@ -37,7 +37,7 @@ class Index extends BaseAdmin
// reload active themes
if (!empty($_GET['action'])) {
self::checkFormSecurityTokenRedirectOnError(DI::baseUrl()->get() . '/admin/themes', 'admin_themes', 't');
self::checkFormSecurityTokenRedirectOnError('/admin/themes', 'admin_themes', 't');
switch ($_GET['action']) {
case 'reload':