最新公告
  • 欢迎您光临 我爱模板网,本站秉承服务宗旨 履行“站长”责任,销售只是起点 服务永无止境! 立即加入钻石VIP
  • 帝国cms加ssl证书后https访问后台变空白解决方法

    正文概述 管理员   2025-09-06   6

    以下方法适用帝国cms7.5版本:

    7.5版本已经有了http和https自动识别,但是因为一些疑难杂症的原因,自动识别判断的不准,后台登录也是空白,

    我们可以打开e/config.php查找'httptype'=>0改为'httptype'=>2即可

    'httptype'=>0, 代表自动
    'httptype'=>1,代表全站http
    'httptype'=>2,代表全站https
    'httptype'=>3,代表后台https,前台http
    'httptype'=>,代表后台http,前台https

     

    以下方法适用帝国cms7.2和以下的版本:

    方法一、

    打开/e/class/connect.php文件,ctrl+h

    查找

    return 'http://'.$domain;

     

    替换为

    return ($_SERVER['HTTPS'] ? 'https':'http').'://'.$domain;

     


    我爱模板网 » 帝国cms加ssl证书后https访问后台变空白解决方法

    发表评论

    如需帝国cms功能定制以及二次开发请联系我们

    联系作者
    script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?587cc1e5c052b5b0ce99533beff13c96"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();

    请选择支付方式

    ×
    支付宝支付
    余额支付
    ×
    微信扫码支付 0 元