Commit fa9e01d2 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Merge branch 'patch-3' into 'development'

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

See merge request !798
parents b04993ae 9ef1f920
......@@ -69,7 +69,7 @@ class MetaGerSearch extends Controller
}
if ($dummyQuery !== "") {
$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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment