phpcms v9怎么在后台实现全站搜索,而不是按照栏目来搜索

来源:互联网 发布:淘宝访客进店提醒 编辑:程序博客网 时间:2024/06/10 03:38

找到
phpcms/modules/content/content.php
搜索
$where = 'catid='.$catid.' AND status='.$status;
大概是60行左右,位于函数init()内.
改成
$where = 'catid>0 AND status='.$status;+-
即可.