diff --git a/start.php b/start.php index a68b1fc..6649593 100644 --- a/start.php +++ b/start.php @@ -41,6 +41,11 @@ else } $logger->catchAll(); +// Selection of the language +$language = new language (); +if (defined ("APPNAME")) + $language->activeLanguage (constant ("APPNAME"), "Language"); + if (! isset ($route)) $route = new route (); $route->debug = 0; @@ -56,9 +61,5 @@ if (defined ("APPNAME")) $authentication->routes (); $route->authenticationURL = "/authentication/"; -// Selection of the language -$language = new language (); -if (defined ("APPNAME")) - $language->activeLanguage (constant ("APPNAME"), "Language");