Commit a1d4bc02 authored by fangliyan's avatar fangliyan

撤销 "登录跳转问题"

这将还原提交 8a20fbbb
parent 8a20fbbb
...@@ -16,8 +16,11 @@ class Login extends MY_Controller ...@@ -16,8 +16,11 @@ class Login extends MY_Controller
//登录页面 //登录页面
function index() function index()
{ {
$ref_url = $_SERVER["HTTP_REFERER"];
$login_url = "http://passport.house365.com/index/login";
$login_url .= $login_url?('?others_returnback='.$ref_url):'';
Header("HTTP/1.1 301 Moved Permanently"); Header("HTTP/1.1 301 Moved Permanently");
Header("Location: http://newrent.house365.com/user/login"); Header("Location: $login_url");
exit; exit;
//IM 埋点 //IM 埋点
if($_GET['from']=='im'){ if($_GET['from']=='im'){
......
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