From a944a879b1e6ebd8b3d278b86ea4404ba5b7aa81 Mon Sep 17 00:00:00 2001 From: Christian Vogeley Date: Wed, 21 Aug 2013 22:12:22 +0200 Subject: show chosen desktop theme when SESSION['show_mobile'] is false --- boot.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 7b2d72f3c..dd008558d 100755 --- a/boot.php +++ b/boot.php @@ -1965,8 +1965,8 @@ function current_theme(){ if($is_mobile) { if(isset($_SESSION['show_mobile']) && !$_SESSION['show_mobile']) { - $system_theme = ''; - $theme_name = ''; + $system_theme = ((isset($a->config['system']['theme'])) ? $a->config['system']['theme'] : ''); + $theme_name = ((isset($_SESSION) && x($_SESSION,'theme')) ? $_SESSION['theme'] : $system_theme); } else { $system_theme = ((isset($a->config['system']['mobile_theme'])) ? $a->config['system']['mobile_theme'] : ''); -- cgit v1.2.3