|
@@ -59,10 +59,10 @@ class Index extends Frontend
|
|
}else if(strpos($_SERVER['HTTP_USER_AGENT'], 'Android')){
|
|
}else if(strpos($_SERVER['HTTP_USER_AGENT'], 'Android')){
|
|
//$host = $_SERVER["REQUEST_SCHEME"]."://".$_SERVER["HTTP_HOST"];
|
|
//$host = $_SERVER["REQUEST_SCHEME"]."://".$_SERVER["HTTP_HOST"];
|
|
//header("Location: ".$host."/index/index/download");
|
|
//header("Location: ".$host."/index/index/download");
|
|
- $this->view->assign('downurl', /*config("site.apkUrl")*/'baidu.com');
|
|
|
|
|
|
+ $this->view->assign('downurl', config("site.apkurl"));
|
|
return $this->view->fetch();
|
|
return $this->view->fetch();
|
|
}else{
|
|
}else{
|
|
- $this->view->assign('downurl', /*config("site.apkUrl")*/'baidu.com');
|
|
|
|
|
|
+ $this->view->assign('downurl', config("site.apkurl"));
|
|
return $this->view->fetch();
|
|
return $this->view->fetch();
|
|
}
|
|
}
|
|
}
|
|
}
|