From a50e9dd3d3d2b536e47f2c3f919efa65c148cb5a Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sun, 9 Jan 2011 22:51:08 +0000 Subject: [PATCH] Put in debug mode --- include/constant.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/constant.php b/include/constant.php index a8d001344..f4a84c1ee 100644 --- a/include/constant.php +++ b/include/constant.php @@ -27,17 +27,17 @@ require_once ('config.inc.php'); require_once('constant.security.php'); // SVNVERSION global $version_phpcompta; -$version_phpcompta=3872; -error_reporting (0); + global $g_captcha; $g_captcha=true; /* set to none for production */ /* uncomment for production */ -/*error_reporting (0); +/* $version_phpcompta=SVNINFO; */ +$version_phpcompta=3872; define ("DBVERSION",92); define ("DBVERSIONREPO",13); @@ -48,8 +48,8 @@ define ('MAX_ARTICLE',9); define ('MAX_CAT',15); define ('MAX_FORECAST_ITEM',10); -define ("DEBUG",false); - +define ("DEBUG",true); +if ( DEBUG ) error_reporting(15); else error_reporting(0); // Erreur define ("NOERROR",0); define ("BADPARM",1);