Add files via upload

This commit is contained in:
wibyweb 2023-03-31 23:46:32 -04:00 committed by GitHub
parent fe2da43e66
commit 0e4a885f5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)