Browse Source

fix toggle mobile/desktop view

pull/1724/head
rabuzarus 6 years ago
parent
commit
a0b522c3be
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      boot.php

+ 2
- 2
boot.php View File

@ -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…
Cancel
Save