검색어 특수문자 처리 코드 수정
This commit is contained in:
@ -11,7 +11,8 @@ $text_stx = "";
|
||||
$srows = 0;
|
||||
|
||||
$stx = strip_tags($stx);
|
||||
$stx = preg_replace('/[[:punct:]]/u', '', $stx); // 특수문자 제거
|
||||
//$stx = preg_replace('/[[:punct:]]/u', '', $stx); // 특수문자 제거
|
||||
$stx = get_search_string($stx); // 특수문자 제거
|
||||
if ($stx) {
|
||||
$stx = preg_replace('/\//', '\/', trim($stx));
|
||||
$sop = strtolower($sop);
|
||||
|
||||
Reference in New Issue
Block a user