From 5be894f963b48bf85519217c07561bbdea1aee49 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Wed, 15 Jan 2025 16:43:32 +0100 Subject: [PATCH] in debuglevel 1 , remove xdebug.show_trace_exception --- include/constant.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/constant.php b/include/constant.php index 88ce881ac..b0042047a 100644 --- a/include/constant.php +++ b/include/constant.php @@ -164,6 +164,8 @@ if (DEBUGNOALYSS == 0) { ini_set("html_errors", 1); ini_set('log_errors', 1); ini_set('log_errors_max_len', 0); + ini_set('xdebug.show_exception_trace', false); + } elseif (DEBUGNOALYSS == 2) { // like level 1 plus extra info (filename, ...) error_reporting(2147483647); @@ -172,7 +174,7 @@ if (DEBUGNOALYSS == 0) { ini_set("html_errors", 1); ini_set('log_errors', 1); ini_set('log_errors_max_len', 0); - + ini_set('xdebug.show_exception_trace', true); } // Erreur