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