mirror of
https://github.com/thewesker/greptweet.git
synced 2025-12-20 04:01:06 -05:00
Another quick fix that somehow escaped my testing
This commit is contained in:
@@ -10,7 +10,7 @@ $QUERY=escapeshellarg($_GET['q']);
|
||||
//fwrite($fp, $_GET['q'] . " : " . $QUERY . "\n");
|
||||
//fclose($fp);
|
||||
|
||||
exec("gunzip -c tweets.txt | grep -Fhi $QUERY", $array);
|
||||
exec("gunzip -c tweets.txt.gz | grep -Fhi $QUERY", $array);
|
||||
$data = json_encode($array);
|
||||
echo $_GET['jsoncallback'] . '(' . $data . ');';
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user