From 3d53269b2a5642c261ba6b356be0a664ddfe700c Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Sun, 22 Feb 2026 00:07:36 +0000 Subject: [PATCH] a --- Vue/gabarit.php | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 6a9f126..c0f9e71 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -433,7 +433,25 @@ $style = "background-color: $colorTests;"; $test = "MODE TEST"; } - + else + { + error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT); + ini_set('display_errors', 0); + ini_set('log_errors', 1); + ini_set('error_log', __DIR__ . '/logs/error.log'); + } + +if (DEBUG_MODE) { + error_reporting(E_ALL); + ini_set('display_errors', 1); +} +else +{ + error_reporting(E_ALL); + ini_set('display_errors', 0); + ini_set('log_errors', 1); + ini_set('error_log', __DIR__ . '/logs/error.log'); +} //var_dump($style); ?>