使emlog支持内容搜索

2013-5-15 寻梦客子 探索

编辑search_controller.php(位置:/include/controller/search_controller.php)

第22行$sqlSegment = "and title like '%{$keyword}%' order by date desc";

替换成$sqlSegment = "and content like '%{$keyword}%' or title like '%{$keyword}%' order by date desc";

亦可增加: uid、sort、datetime

标签: EMLOG