|
@@ -2,7 +2,7 @@
|
|
|
$config = require "config.php";
|
|
|
require "engines/google/suggestions.php";
|
|
|
|
|
|
- header('Content-Type: application/x-suggestions+xml');
|
|
|
+ header('Content-Type: application/x-suggestions+json');
|
|
|
header('Content-Disposition: attachment; filename="suggestions.json"');
|
|
|
|
|
|
$q = isset($_REQUEST['q']) ? htmlspecialchars(trim($_REQUEST["q"])) : '';
|