start : remove the NOTICE from the logs when we are in production

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2250 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2015-08-14 12:55:32 +00:00
parent c7e77ed060
commit 1e69b034b1

View File

@@ -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 ();