diff options
-rw-r--r-- | include/common.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/common.inc.php b/include/common.inc.php index 378b9b4e0..0fa06f679 100644 --- a/include/common.inc.php +++ b/include/common.inc.php @@ -192,7 +192,7 @@ if (defined('IN_ADMIN') and IN_ADMIN ) } else { // Classic template - $theme = mobile_theme() ? $conf['mobile_theme'] : $user['theme']; + $theme = script_basename() != 'ws' and mobile_theme() ? $conf['mobile_theme'] : $user['theme']; $template = new Template(PHPWG_ROOT_PATH.'themes', $theme ); } |