phpcms does not support https solution: first find the "global.func.php" file; then modify the code to "$url = str_replace(array('https://','//',' ~')"; just modify the content_list file at the end.
##Phpcms upgrade :Solution for not supporting https
Solution for upgrading Phpcms V9 that does not support https 1.\phpcms\libs\functions\global.func. php Found:$url = str_replace(array('http://','//','~'), array('~','/','http://'), $url);
$url = str_replace(array('https://','//','~'), array('~','/','https://'), $url);
if($r['islink']) { echo ''; } elseif(strpos($r['url'],'http://')!==false) { echo '';
if($r['islink']) { echo ''; } elseif(strpos($r['url'],'https://')!==false) { echo '';
if(strpos($category['url'],'http://')===false)
if(strpos($category['url'],'https://')===false)
PHPcms tutorial》
The above is the detailed content of What should I do if phpcms does not support https?. For more information, please follow other related articles on the PHP Chinese website!