我的知识记录

请问织梦DEDECMS更新生成内容的速度很慢的解决办法

  1. 修改 inc_fun_SpGetArcList.php 文件
    • 找到:
      for($i=0; $i<$ridnum; $i++) {     if($tpsql=="") $tpsql .= " And ( (" . TypeGetSunID($reids[$i], $dsql, 'arc') . " Or arc.typeid2='" . $reids[$i] . "') ";     else $tpsql .= " Or (" . TypeGetSunID($reids[$i], $dsql, 'arc') . " Or arc.typeid2='" . $reids[$i] . "') "; }
    • 修改为:
      for($i=0; $i<$ridnum; $i++) {     if($tpsql=="") $tpsql .= " And (" . TypeGetSunID($reids[$i], $dsql, 'arc');     else $tpsql .= " Or " . TypeGetSunID($reids[$i], $dsql, 'arc'); }

       

标签:织梦自动更新插件-织梦cmsv6-织梦手机网站如何更新-织梦dedecms插件-织梦cms为什么不维护了-

更新时间:2025-04-11 01:06:05

上一篇:请问易优cms网站asklist功能:在首页、列表、内容页调用内置问答模型的提问列表-Eyoucms

下一篇:请问织梦DeDecms无法自动提取缩略图的两种解决方法