소스 검색

app下载页

lizhen_gitee 1 년 전
부모
커밋
e98fb92cf1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      application/index/controller/Index.php

+ 1 - 1
application/index/controller/Index.php

@@ -32,7 +32,7 @@ class Index extends Frontend
         return $this->view->fetch();*/
 
         if(strpos($_SERVER['HTTP_USER_AGENT'], 'iPhone')||strpos($_SERVER['HTTP_USER_AGENT'], 'iPad')){
-            header(config('site.ios_downurl'));
+            header("Location: ".config('site.ios_downurl'));
         }else if(strpos($_SERVER['HTTP_USER_AGENT'], 'Android')){
             //$host = $_SERVER["REQUEST_SCHEME"]."://".$_SERVER["HTTP_HOST"];
             //header("Location: ".$host."/index/index/download");