]> Raphaël G. Git Repositories - airbundle/commitdiff
Change title scheme format
authorRaphaël Gertz <git@rapsys.eu>
Mon, 28 Dec 2020 07:24:24 +0000 (08:24 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Mon, 28 Dec 2020 07:24:24 +0000 (08:24 +0100)
Controller/ErrorController.php

index eb5320997f4176b61c7ca6e9bc975679291b9f81..b9a3188d488923c36eee80d7116ec5b2ae5d54ae 100644 (file)
@@ -23,7 +23,7 @@ class ErrorController extends DefaultController {
                $section = $exception->getStatusCode().' '.$this->translator->trans($exception->getStatusText());
 
                //Set title
-               $title = $section.' - '.$this->translator->trans($this->config['site']['title']);
+               $title = $this->translator->trans($this->config['site']['title']).' - '.$section;
 
                //Set the message
                $message = $exception->getMessage();