Fix bug reset admin theme

This commit is contained in:
Fred Tempez 2025-01-22 11:36:43 +01:00
parent 83943c6b52
commit f2df3743c6

View File

@ -893,7 +893,7 @@ class theme extends common
$redirect = '';
switch ($this->getUrl(2)) {
case 'admin':
$this->initData('admin', self::$siteContent);
unlink(self::DATA_DIR . 'admin.css');
$redirect = helper::baseUrl() . 'theme/admin';
break;
case 'manage':