diff --git a/start.php b/start.php index 43ac50e..a68b1fc 100644 --- a/start.php +++ b/start.php @@ -35,10 +35,15 @@ if (defined ("DEVEL") && constant ("DEVEL") !== false) $logger->backtraceDisplay = true; $logger->logtype = "display|stderr"; } +else +{ + $logger->loglevelmin = LOG_WARNING; +} $logger->catchAll(); if (! isset ($route)) $route = new route (); +$route->debug = 0; // Catch all the uncatched exceptions set_exception_handler(array ($route, "error")); @@ -49,7 +54,7 @@ $authREST = $authentication->verifAuthREST (); if (defined ("APPNAME")) $authentication->appName = constant ("APPNAME"); $authentication->routes (); -$route->authenticationURL = "/authentication"; +$route->authenticationURL = "/authentication/"; // Selection of the language $language = new language ();