diff options
Diffstat (limited to 'src/search_php.h')
-rw-r--r-- | src/search_php.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/search_php.h b/src/search_php.h index 4213b19..2ffa41c 100644 --- a/src/search_php.h +++ b/src/search_php.h @@ -276,7 +276,7 @@ " $requiredWords = array();\n" " $forbiddenWords = array();\n" " $foundWords = array();\n" -" $word=strtolower(strtok($query,\" \"));\n" +" $word=strtok($query,\" \");\n" " while ($word) // for each word in the search query\n" " {\n" " if (($word{0}=='+')) { $word=substr($word,1); $requiredWords[]=$word; }\n" @@ -286,7 +286,7 @@ " $foundWords[]=$word;\n" " search($file,$word,$results);\n" " }\n" -" $word=strtolower(strtok(\" \"));\n" +" $word=strtok(\" \");\n" " }\n" " $docs = array();\n" " combine_results($results,$docs);\n" |