/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;
- }
复制代码 |