Commit 28e41438 authored by 章建武's avatar 章建武

dep

parent 230a814d
...@@ -14,13 +14,13 @@ class IndexController extends Controller ...@@ -14,13 +14,13 @@ class IndexController extends Controller
{ {
session_start(); session_start();
if (!$_SESSION["headimgurl"]) { if (!$_SESSION["headimgurl"]) {
redirect('http://mallapp.guoguodz.com/h5_pic/appwww/index.php/WxAuthorize'); redirect('http://mallapp.guoguodz.com/test_h5/appwww/index.php/WxAuthorize');
return; return;
} }
if($_SERVER['QUERY_STRING']){ if($_SERVER['QUERY_STRING']){
$url = '?'.$_SERVER['QUERY_STRING']; $url = '?'.$_SERVER['QUERY_STRING'];
} }
$link = 'http://'.$_SERVER["HTTP_HOST"].'/h5_pic/appwww/index.php'.$url; $link = 'http://'.$_SERVER["HTTP_HOST"].'/test_h5/appwww/index.php'.$url;
$this->assign('link',$link); $this->assign('link',$link);
$chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; $chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment