增加 新触屏版自动跳转

This commit is contained in:
Comsenz 2017-09-30 09:34:51 +08:00
parent f7e84763fd
commit cc7772e6e8
1 changed files with 3 additions and 0 deletions

View File

@ -787,6 +787,9 @@ class discuz_application extends discuz_base{
} }
dheader("location:$mobileurl"); dheader("location:$mobileurl");
} }
if($this->var['setting']['mobile']['allowmnew'] && !defined('IN_MOBILE_API')) {
dheader("location:".$this->var['siteurl'].'m/');
}
if($mobile === '3' && empty($this->var['setting']['mobile']['wml'])) { if($mobile === '3' && empty($this->var['setting']['mobile']['wml'])) {
return false; return false;
} }