]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Controller/ErrorController.php
Change title scheme format
[airbundle] / 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
                $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();
 
                //Set the message
                $message = $exception->getMessage();