请问织梦DEDECMS更新生成内容的速度很慢的解决办法
- 修改
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'); }
- 找到:
更新时间:2025-04-11 01:06:05
上一篇:请问易优cms网站asklist功能:在首页、列表、内容页调用内置问答模型的提问列表-Eyoucms
下一篇:请问织梦DeDecms无法自动提取缩略图的两种解决方法
转载请注明原文链接:https://www.muzicopy.com/suibi/7186.html