XCART开启SSL https

Security => Use HTTPS for users’ login and registration

勾选,就直接打开了

如果要自己定义页面https

在根目录下打开https.php

查找 if ($config['Security']['use_https_login'] == ‘Y’) {

大概在100行左右

在数组$https_scripts中增加自己自定义的页面,这样前台打开这个页面的时候,就会自动转成https访问了

Tags: , ,

Leave a comment

You must be logged in to post a comment.