Commit 2b8f2f38 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

On n'affiche pas les erreurs si on a décidé de ne pas les afficher!!!

parent 23e195e8
Loading
Loading
Loading
Loading
+1 −0
Changes for module/Application/Application.php: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@ class Application
        if (AppConfig::get('global', 'affichageErreurs')) {
            error_reporting(E_ALL);
        } else {
            error_reporting(E_ERROR);
            set_exception_handler(function ($e) { // on affiche quand même les erreurs fatales pour expliquer!
                self::error($e);
            });