织梦搜索会自动去掉大写字母bug修复
打开织梦文件目录:include/helpers/filter.helper.php 查找:
if(preg_match("/[^0-9a-z@#\.]/",$keyword[$i])) { $restr .= ' '; }else{ $restr .= $keyword[$i]; } } } }return $restr; } }
改成
if(preg_match("/[^0-9a-zA-Z@#.]/",$keyword[$i])) { $restr .= ' '; }else{ $restr .= $keyword[$i]; } } } }return $restr; } }
完成后,即可实现织梦搜索大写字母