Skip to content
GitLab
Menu
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
eedecf7a
Commit
eedecf7a
authored
Jul 10, 2017
by
Aria Givi
Browse files
Leerzeichen bleiben erhalten
parent
a2468f88
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/MetaGerSearch.php
View file @
eedecf7a
...
...
@@ -70,9 +70,11 @@ class MetaGerSearch extends Controller
if
(
$word
[
0
]
===
"!"
)
{
$dummyQuery
.
=
$word
.
" "
;
}
else
{
$realQuery
.
=
$word
;
$realQuery
.
=
$word
.
" "
;
}
}
$realQuery
=
rtrim
(
$realQuery
);
if
(
$dummyQuery
!==
""
)
{
$dummyQuery
.
=
$placeholder
;
$url
=
"https://api.duckduckgo.com/?format=json&no_redirect=1&t=MetaGerDE&q="
.
urlencode
(
$dummyQuery
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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