fix for mobile-view on system pages
This commit is contained in:
parent
92a7a62608
commit
7c3af0d3ed
1 changed files with 1 additions and 1 deletions
2
boot.php
2
boot.php
|
@ -1480,7 +1480,7 @@ if(! function_exists('current_theme')) {
|
||||||
$theme_name = '';
|
$theme_name = '';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$system_theme = ((isset($a->config['system']['mobile-theme'])) ? $a->config['system']['mobile-theme'] : '');
|
$system_theme = ((isset($a->config['system']['mobile-theme'])) ? $a->config['system']['mobile-theme'] : $standard_system_theme);
|
||||||
$theme_name = ((isset($_SESSION) && x($_SESSION,'mobile-theme')) ? $_SESSION['mobile-theme'] : $system_theme);
|
$theme_name = ((isset($_SESSION) && x($_SESSION,'mobile-theme')) ? $_SESSION['mobile-theme'] : $system_theme);
|
||||||
|
|
||||||
if($theme_name === '---') {
|
if($theme_name === '---') {
|
||||||
|
|
Loading…
Reference in a new issue