phpcms修改協議為https后分頁不顯示

phpcms修改協議為https后分頁不顯示

問題:

phpcmsv9 修改協議為https后分頁無法正常顯示。

解決方法:

1、打開文件phpcmslibsfunctionsglobal.func.php

2、搜索function pageurl

立即學習PHP免費學習筆記(深入)”;

替換如下代碼:

$url?=?str_replace(array('http://','//','~'),?array('~','/','http://'),?$url);

//ASMITA修改 if(substr($url,0,5)=="https"){ 	$url?=?str_replace(array('https://','//','~'),?array('~','/','https://'),?$url); } else{ 	$url?=?str_replace(array('http://','//','~'),?array('~','/','http://'),?$url); }

相關文章教程推薦:phpcms教程

以上就是

? 版權聲明
THE END
喜歡就支持一下吧
點贊13 分享