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
5b1ccc9b
Commit
5b1ccc9b
authored
Mar 27, 2017
by
Dominik Hebeler
Browse files
Bugfix
parent
70195b07
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/MetaGerSearch.php
View file @
5b1ccc9b
...
...
@@ -49,6 +49,7 @@ class MetaGerSearch extends Controller
{
$q
=
$request
->
input
(
'q'
,
''
);
$mquicktips
=
[];
$quicktips
=
[];
$spruch
=
""
;
if
(
APP
::
getLocale
()
===
"de"
){
# Spruch
...
...
@@ -87,8 +88,6 @@ class MetaGerSearch extends Controller
fclose
(
$file
);
}
$quicktips
=
[];
# Wetter
try
{
$url
=
"http://api.openweathermap.org/data/2.5/weather?type=accurate&units=metric&lang="
.
APP
::
getLocale
()
.
"&q="
.
urlencode
(
$q
)
.
"&APPID="
.
getenv
(
"openweathermap"
);
...
...
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