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:
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user