Home > Article > CMS Tutorial > Pagination is not displayed after phpcms changes the protocol to https
Problem:
phpcmsv9 paging cannot be displayed normally after changing the protocol to https.
Solution:
1. Open the file phpcms\libs\functions\global.func.php
2. Search for function pageurl
and replace the following code :
$url = str_replace(array('http://','//','~'), array('~','/','http://'), $url);
is recommended for
//ASMITA修改 if(substr($url,0,5)=="https"){ $url = str_replace(array('https://','//','~'), array('~','/','https://'), $url); } else{ $url = str_replace(array('http://','//','~'), array('~','/','http://'), $url); }
related article tutorials: phpcms tutorial
The above is the detailed content of Pagination is not displayed after phpcms changes the protocol to https. For more information, please follow other related articles on the PHP Chinese website!