commit
f1eea7b612
1 changed files with 3 additions and 3 deletions
6
api.php
6
api.php
|
@ -34,8 +34,8 @@
|
|||
$results = get_image_results($query_encoded, $page);
|
||||
break;
|
||||
case 2:
|
||||
require "engines/google/video.php";
|
||||
$results = get_video_results($query_encoded, $page);
|
||||
require "engines/brave/video.php";
|
||||
$results = get_video_results($query_encoded);
|
||||
break;
|
||||
case 3:
|
||||
if ($config->disable_bittorent_search)
|
||||
|
@ -54,4 +54,4 @@
|
|||
|
||||
header("Content-Type: application/json");
|
||||
echo json_encode($results, JSON_PRETTY_PRINT);
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue