Commit 2ddc352a by 韩洪虎

test

parent aa8d4f3b
......@@ -3801,7 +3801,7 @@ function eReturnDomain(){
}
// $http_type = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') || (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')) ? 'https://' : 'http://';
// return $http_type.$domain;
return ($_SERVER['HTTPS'] ? 'https':'http').'://'.$domain;
return 'https://'.$domain;
}
//返回域名网站地址
......@@ -4039,8 +4039,7 @@ function FWeReturnDomain(){
{
return '';
}
// return 'http://'.$domain;
return ($_SERVER['HTTPS'] ? 'https':'http').'://'.$domain;
return 'https://'.$domain;
}
//检查敏感字符
......
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