/e/class/connect.php
文件
functioneReturnDomain(){
$domain=RepPostStr($_SERVER['HTTP_HOST'],1);
if(emptyempty($domain))
{
return'';
}
return'http://'.$domain;
}
改为
functioneReturnDomain(){
$domain=RepPostStr($_SERVER['HTTP_HOST'],1);
if(emptyempty($domain))
{
return'';
}
return($_SERVER['HTTPS']?'https':'http').'://'.$domain;
}
此解决方案来自宝塔官方论坛
评论(0)