很多人遇到,在网站绑定ssl证书开启https加密访问之后,后台打开显示空白了。
解决办法:
/e/class/connect.php 文件
function eReturnDomain(){
$domain=RepPostStr($_SERVER['HTTP_HOST'],1);
if(emptyempty($domain))
{
return '';
}
return 'http://'.$domain;
}
修改为
function eReturnDomain(){
$domain=RepPostStr($_SERVER['HTTP_HOST'],1);
if(emptyempty($domain))
{
return '';
}
return ($_SERVER['HTTPS'] ? 'https':'http').'://'.$domain;
}
2019年5月7日用户反馈:需要HTTP与HTTPS都要打开后台,这种情况只要将:http:去掉,只保留“//”就可以了。
Copyright © 1998 - Gworg, Inc. All Rights Reserved. 江苏光网数字认证有限公司版权所有
苏ICP备15058404号 苏公网安备32058202010008号