Commit 463379dd authored by Dominik Hebeler's avatar Dominik Hebeler

Added metager.org to our new version, too

parent eea6f6ac
......@@ -17,6 +17,17 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot()
{
/**
* metager.org is our english Domain
* We will change the Locale to en
*/
$host = Request::header("X_Forwarded_Host", "");
if(stripos($host, "metager.org") !== FALSE){
App::setLocale('en');
}
# Wir loggen im Redis-System für jede Sekunde des Tages, wie viele Worker aktiv am Laufen waren.
# Dies ist notwendig, damit wir mitbekommen können, ab welchem Zeitpunkt wir zu wenig Worker zur Verfügung haben.
Queue::before(function (JobProcessing $event) {
......
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