Commit 8a20fbbb authored by fangliyan's avatar fangliyan

登录跳转问题

parent 2cd9472f
...@@ -16,11 +16,8 @@ class Login extends MY_Controller ...@@ -16,11 +16,8 @@ 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: $login_url"); Header("Location: http://newrent.house365.com/user/login");
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