Commit 5b20ee99 authored by liuqiao's avatar liuqiao

出租/出售 激活/失效房源更新时间修改为发布天数

parent 0b723140
......@@ -63,11 +63,7 @@ class MY_Controller extends CI_Controller
} */
// 弱密码,并且当前请求不是修改密码或退出则跳转到修改密码页面
$isAjax = false;
if (isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest') {
$isAjax = true;
}
if (!$isAjax && $this->session->userdata('zsb_user_weak_password') && strpos($_SERVER['REQUEST_URI'],'ucenter_information/edit_password') === false
if (!$this->isAjax() && $this->session->userdata('zsb_user_weak_password') && strpos($_SERVER['REQUEST_URI'],'ucenter_information/edit_password') === false
&& strpos($_SERVER['REQUEST_URI'],'login') === false
&& strpos($_SERVER['REQUEST_URI'],'action=getAttentionNumber') === false) {
header("Location: /ucenter_information/edit_password");
......
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