Commit 3a1f7242 by 韩洪虎

connect

parent 4938560a
......@@ -4038,7 +4038,8 @@ function FWeReturnDomain(){
{
return '';
}
return 'http://'.$domain;
// return 'http://'.$domain;
return ($_SERVER['HTTPS'] ? 'https':'http').'://'.$domain;
}
//检查敏感字符
......@@ -4093,4 +4094,4 @@ function FWEmptyPassword(){
global $ecms_config;
esetcookie($ecms_config['fw']['adminckpassvar'],'',0,1);
}
?>
\ No newline at end of file
?>
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