Commit f124eab5 authored by Dominik Hebeler's avatar Dominik Hebeler

tips route now also returns english tips

parent 327e35e0
......@@ -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 {
......
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