修复 新触屏版的跳转
This commit is contained in:
parent
0cd1a9ca1d
commit
cf44ff9ae7
|
@ -792,6 +792,12 @@ class discuz_application extends discuz_base{
|
|||
dheader("location:$mobileurl");
|
||||
}
|
||||
if($this->var['setting']['mobile']['allowmnew'] && !defined('IN_MOBILE_API') && !defined('NOT_IN_MOBILE_API')) {
|
||||
$modid = $this->var['basescript'].'::'.CURMODULE;
|
||||
if(($modid == 'forum::viewthread' || $modid == 'group::viewthread') && !empty($_GET['tid'])) {
|
||||
dheader('location: '.$this->var['siteurl'].'m/?a=viewthread&tid='.$_GET['tid']);
|
||||
} elseif(($modid == 'forum::forumdisplay' || $modid == 'group::forumdisplay') && !empty($_GET['fid'])) {
|
||||
dheader('location: '.$this->var['siteurl'].'m/?a=index&fid='.$_GET['fid']);
|
||||
}
|
||||
dheader("location:".$this->var['siteurl'].'m/');
|
||||
}
|
||||
if($mobile === '3' && empty($this->var['setting']['mobile']['wml'])) {
|
||||
|
|
Loading…
Reference in New Issue