From da382a11d5b3ea3e2739f8647648c09366e4658a Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Tue, 11 Aug 2015 10:53:56 +0200 Subject: [PATCH] Move DEBUG and LOGINPUT to config.inc.php, by default error are shown --- include/constant.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/constant.php b/include/constant.php index df18dc9e6..7727a8685 100644 --- a/include/constant.php +++ b/include/constant.php @@ -125,8 +125,8 @@ if ( DEBUG ) { else { // Rapporte les erreurs d'exécution de script error_reporting(E_ERROR | E_WARNING | E_PARSE); - ini_set("display_errors",0); - ini_set("html_errors",0); + ini_set("display_errors",1); + ini_set("html_errors",1); ini_set('log_errors',1); ini_set('error_log','syslog'); }