Fix bug reset admin theme
This commit is contained in:
parent
83943c6b52
commit
f2df3743c6
@ -893,7 +893,7 @@ class theme extends common
|
|||||||
$redirect = '';
|
$redirect = '';
|
||||||
switch ($this->getUrl(2)) {
|
switch ($this->getUrl(2)) {
|
||||||
case 'admin':
|
case 'admin':
|
||||||
$this->initData('admin', self::$siteContent);
|
unlink(self::DATA_DIR . 'admin.css');
|
||||||
$redirect = helper::baseUrl() . 'theme/admin';
|
$redirect = helper::baseUrl() . 'theme/admin';
|
||||||
break;
|
break;
|
||||||
case 'manage':
|
case 'manage':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user