noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 07/17: Move DEBUG and LOGINPUT to config.inc.


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 07/17: Move DEBUG and LOGINPUT to config.inc.php, by default error are shown
Date: Wed, 12 Aug 2015 13:23:41 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit da382a11d5b3ea3e2739f8647648c09366e4658a
Author: Dany De Bontridder <address@hidden>
Date:   Tue Aug 11 10:53:56 2015 +0200

    Move DEBUG and LOGINPUT to config.inc.php, by default error are shown
---
 include/constant.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/constant.php b/include/constant.php
index df18dc9..7727a86 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');
 }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]