Last update at :2024-03-18,Edit by888u
Nowadays, website security is becoming more and more important. Domain names without SSL certificates are easily hijacked. Therefore, it is recommended that webmasters configure SSL certificates as much as possible. However, after a friend used Imperial CMS to configure an SSL domain name certificate, the access backend went blank.
This problem usually only occurs in Empire CMS version 7.2 and below. Version 7.5 has solved this problem very well.
Open the /e/class/connect.php file
The following code was found:
//Return the current domain name function eReturnDomain(){ $domain=RepPostStr($_SERVER['HTTP_HOST'],1); if(empty($domain)) { return ''; } return 'http://'.$domain; }Will:
return 'http://'.$domain;change into:
return 'https://'.$domain;In this way, you can log in to the backend normally.
Recommended site search: domain name transfer, free server website, virtual host rental, foreign server, shopex virtual host, free domain name registration platform, multi-IP station group server, Dongguan server, registration-free virtual host, German server,
p>
发表评论