方法一:【此对应喜欢把模板文件使用".html"的格式,】

/include/arc.archives.class.php 556行

if (!preg_match("#.htm$#", $tmpfile) ) return FALSE;会至判断了.htm的后缀没有匹配.html后缀的文件 直接修改为.htm后默认模版的文件又无法解析只能两则兼顾了

if (!preg_match("#.htm$#", $tmpfile) && !preg_match("#.html$#", $tmpfile)) return FALSE;

 

 

方法二:【对应路径不存在】

系统---系统基本参数---网页主页链接 把“/”删掉

然后:生成---更新系统缓存 再全部更新 OK

相关文章:

  • 2021-09-01
  • 2021-12-04
  • 2021-04-18
  • 2021-08-18
  • 2022-12-23
  • 2022-12-23
  • 2021-09-25
  • 2021-11-25
猜你喜欢
  • 2022-01-14
  • 2022-12-23
  • 2022-12-23
  • 2021-10-03
  • 2022-12-23
  • 2021-12-04
  • 2021-12-04
相关资源
相似解决方案