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
f124eab5
Commit
f124eab5
authored
Nov 07, 2019
by
Dominik Hebeler
Browse files
tips route now also returns english tips
parent
327e35e0
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/MetaGerSearch.php
View file @
f124eab5
...
...
@@ -213,6 +213,9 @@ class MetaGerSearch extends Controller
}
else
{
$tipserver
=
"https://quicktips.metager.de/1.1/tips.xml"
;
}
if
(
LaravelLocalization
::
getCurrentLocale
()
==
"en"
)
{
$tipserver
.
=
"?locale=en"
;
}
$tips_text
=
file_get_contents
(
$tipserver
);
$tips
=
[];
try
{
...
...
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