rclist 标记中使用要害字属性时,模板解析出错。 打开 include/inc/inc_fun_SpGetArcList.php 找到 //要害字条件 if($keyword!="") { $keywords = explode(",",$keyword); $ridnum = count($keywords); $rstr = trim($keywords[0]); if($ridnum>4) $ridnum = 4; for($i=0;$i<$ridnum;$i ){ $keywords[$i] = trim($keywords[$i]); if($keywords[$i]!="") $rstr .= "|".$keywords[$i]; } if($rstr!="") $orwhere = " And CONCAt(arc.title,arc.keywords) REGEXP ‘$rstr’ "; unset($keywords); } 改为 //要害字条件 if($keyword!="") { $keywords = explode(",",$keyword); $ridnum = count($keywords); $rstr = trim($keywords[0]); if($ridnum>4) $ridnum = 4; for($i=0;$i<$ridnum;$i ){ $keywords[$i] = trim($keywords[$i]); if($keywords[$i]!="") $rstr .= "|".$keywords[$i]; } if($rstr!="") $orwhere .= " And CONCAt(arc.title,arc.keywords) REGEXP ‘$rstr’ "; unset($keywords); }
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)