phpcmsv9 全站https后台编辑站点域名无法提交,在后台修改站点域名为https提交后提示“站点域名格式应该为http://www.phpcms.cn/,请以‘/’结束”,解决办法:

找开 phpcms\modules\admin 下的 site.php文件,在大约128行修改如下:

if (!empty($domain) && !preg_match('/http:\/\/(.+)\/$/i', $domain)) {

修改为

if (!empty($domain) && !preg_match('/http(s)?:\/\/(.+)\/$/i', $domain)) {

//代码来自 www.zjkweiqi.cn

phpcms站点域名配置https域名无法提交怎么办?站点域名格式应该为http://www.phpcms

 

相关文章:

  • 2021-12-06
  • 2022-12-23
  • 2021-11-01
  • 2021-05-11
  • 2022-12-23
  • 2021-11-18
  • 2021-11-11
  • 2021-07-02
猜你喜欢
  • 2021-10-22
  • 2022-12-23
  • 2021-11-18
  • 2022-12-23
  • 2021-11-28
  • 2021-05-22
  • 2021-05-22
相关资源
相似解决方案