fix toggle mobile/desktop view
This commit is contained in:
parent
7c3af0d3ed
commit
a0b522c3be
4
boot.php
4
boot.php
|
@ -1476,8 +1476,8 @@ if(! function_exists('current_theme')) {
|
|||
|
||||
if($is_mobile) {
|
||||
if(isset($_SESSION['show-mobile']) && !$_SESSION['show-mobile']) {
|
||||
$system_theme = '';
|
||||
$theme_name = '';
|
||||
$system_theme = $standard_system_theme;
|
||||
$theme_name = $standard_theme_name;
|
||||
}
|
||||
else {
|
||||
$system_theme = ((isset($a->config['system']['mobile-theme'])) ? $a->config['system']['mobile-theme'] : $standard_system_theme);
|
||||
|
|
Loading…
Reference in New Issue
Block a user