Commit 783c0529 authored by fangliyan's avatar fangliyan

合并分支 'release-fangliyan' 到 'release'

Release fangliyan

查看合并请求 !17
parents 8e2de42d 2df09608
# Created by .ignore support plugin (hsz.mobi) # Created by .ignore support plugin (hsz.mobi)
.idea .idea
\ No newline at end of file
...@@ -19,6 +19,9 @@ class Login extends MY_Controller ...@@ -19,6 +19,9 @@ class Login extends MY_Controller
$ref_url = $_SERVER["HTTP_REFERER"]; $ref_url = $_SERVER["HTTP_REFERER"];
$login_url = "http://passport.house365.com/index/login"; $login_url = "http://passport.house365.com/index/login";
$login_url .= $login_url?('?others_returnback='.$ref_url):''; $login_url .= $login_url?('?others_returnback='.$ref_url):'';
if($_GET['ref']){
echo $login_url;exit;
}
Header("HTTP/1.1 301 Moved Permanently"); Header("HTTP/1.1 301 Moved Permanently");
Header("Location: $login_url"); Header("Location: $login_url");
exit; exit;
......
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