diff --git a/functions/functions.php b/functions/functions.php index 797ce6f..9ee257f 100644 --- a/functions/functions.php +++ b/functions/functions.php @@ -9,8 +9,8 @@ declare(strict_types = 1); // Set autoloader -\error_reporting(E_ALL); -\ini_set('display_errors', "1"); +# \error_reporting(E_ALL); +# \ini_set('display_errors', "1"); \spl_autoload_register("mdCsvxmlAutoloader"); \set_exception_handler("mdExceptionHandler"); \set_error_handler("mdErrorHandler", E_ALL); @@ -103,15 +103,11 @@ function mdExceptionHandler(Throwable $exception):void { $output = ' - - - - '; - if (!empty($_SESSION['dark-theme'])) $output .= ' - '; + + '; $output .= ' Error :: '; $output .= $versionName;