Add files via upload
This commit is contained in:
parent
fe2da43e66
commit
0e4a885f5a
1 changed files with 4 additions and 1 deletions
|
@ -39,10 +39,13 @@ else
|
|||
exit();
|
||||
}
|
||||
|
||||
//fix phone users putting space at end
|
||||
//phone users
|
||||
if(strlen($query) > 1 && $query[strlen($query)-1]==" "){
|
||||
$query = substr($query,0,strlen($query)-1);
|
||||
}
|
||||
if(strlen($query) > 1 && $query[0]==" "){
|
||||
$query = substr($query,1,strlen($query));
|
||||
}
|
||||
|
||||
//check if user wants to search a different search engine (!) or time window
|
||||
if(($query[0] == "!" || $query[0] == "&") && strlen($query) > 3)
|
||||
|
|
Loading…
Reference in a new issue