dede后台删除文章后台还有分页显示解决方法
打开dede目录中content_list.php
大概在100行左右
1 $sql = "SELECT COUNT(*) AS dd FROM `#@__arctiny` $tinyQuery "; 2 $cachekey = md5($sql); 3 $arr = GetCache('listcache', $cachekey); 4 if (empty($arr)) 5 { 6 $arr = $dsql->GetOne($sql); 7 SetCache('listcache', $cachekey, $arr); 8 }
将上面代码替换为
$arr = $dsql->GetOne("Select count(*) as dd From `zmb_arctiny` $tinyQuery ");
原文链接:https://www.cnblogs.com/gaowy/p/9811138.html