diff options
author | Christian Vogeley <christian.vogeley@hotmail.de> | 2013-08-21 22:12:22 +0200 |
---|---|---|
committer | Christian Vogeley <christian.vogeley@hotmail.de> | 2013-08-21 22:12:22 +0200 |
commit | a944a879b1e6ebd8b3d278b86ea4404ba5b7aa81 (patch) | |
tree | 6d32f3037200e0ecd4f0cb11689b8077f31b3001 | |
parent | 5c0220df0942db7aded0540c8c408bfbaadf6c16 (diff) | |
download | volse-hubzilla-a944a879b1e6ebd8b3d278b86ea4404ba5b7aa81.tar.gz volse-hubzilla-a944a879b1e6ebd8b3d278b86ea4404ba5b7aa81.tar.bz2 volse-hubzilla-a944a879b1e6ebd8b3d278b86ea4404ba5b7aa81.zip |
show chosen desktop theme when SESSION['show_mobile'] is false
-rwxr-xr-x | boot.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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'] : ''); |