Skip to content
Snippets Groups Projects
Commit d753d9f0 authored by Phil Höfer's avatar Phil Höfer
Browse files

t-Parameter zu DDG-!bang-Integration hinzugefügt

parent b24a34ef
No related branches found
No related tags found
1 merge request!1365Resolve "Filter Options for MetaGer"
...@@ -69,7 +69,7 @@ class MetaGerSearch extends Controller ...@@ -69,7 +69,7 @@ class MetaGerSearch extends Controller
} }
if ($dummyQuery !== "") { if ($dummyQuery !== "") {
$dummyQuery .= $placeholder; $dummyQuery .= $placeholder;
$url = "https://api.duckduckgo.com/?format=json&no_redirect=1&q=" . urlencode($dummyQuery); $url = "https://api.duckduckgo.com/?format=json&no_redirect=1&t=MetaGerDE&q=" . urlencode($dummyQuery);
$result = json_decode($this->get($url), true); $result = json_decode($this->get($url), true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment