From 9381836a3270ea15dd8a0c27cde45cfc1c85566f Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Fri, 14 Aug 2015 13:05:01 +0000 Subject: [PATCH] start : move the language selector to be enabled in authentication page git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2252 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- start.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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");