修复 风格切换问题

This commit is contained in:
Comsenz 2017-10-23 17:11:24 +08:00
parent 21c4be10d5
commit 5c0c7c7f6a
1 changed files with 1 additions and 1 deletions

View File

@ -713,7 +713,7 @@ class discuz_application extends discuz_base{
}
}
if($this->var['setting']['mobile']['allowmnew'] && !defined('IN_MOBILE_API') && $this->var['setting']['styleid2']) {
if(defined('IN_NEWMOBILE') && $this->var['setting']['mobile']['allowmnew'] && $this->var['setting']['styleid2']) {
$styleid = $this->var['setting']['styleid2'];
}