Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
9ef1f920
Commit
9ef1f920
authored
Mar 28, 2017
by
Phil Höfer
Browse files
t-Parameter zu DDG-!bang-Integration hinzugefügt
parent
b04993ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/MetaGerSearch.php
View file @
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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment