Commit cc9d8fb5 by 韩洪虎

reset

parent 42548a93
......@@ -3800,8 +3800,7 @@ function eReturnDomain(){
return '';
}
$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 $http_type.$domain;
}
//返回域名网站地址
......@@ -4039,8 +4038,7 @@ function FWeReturnDomain(){
{
return '';
}
// return 'http://'.$domain;
return ($_SERVER['HTTPS'] ? 'https':'http').'://'.$domain;
return 'http://'.$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