nginx下ecshop后台不能进入

kevin.Zhu 发布于:2013-1-16 1:02 分类:Ecshop  有 12 人浏览,获得评论 0 条  


打开文件

includes/cls_ecshop.php

找到

return (isset($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) != 'off')) ? 'https://' : 'http://';

修改为

return (isset($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) == 'on')) ? 'https://' : 'http://';

即可