Author: danydb
Date: 2013-05-23 20:48:57 +0200 (Thu, 23 May 2013)
New Revision: 5309
Modified:
phpcompta/trunk/include/constant.php
Log:
change debug info
Modified: phpcompta/trunk/include/constant.php
===================================================================
--- phpcompta/trunk/include/constant.php 2013-05-23 18:43:22 UTC (rev
5308)
+++ phpcompta/trunk/include/constant.php 2013-05-23 18:48:57 UTC (rev
5309)
@@ -94,7 +94,17 @@
define ('MAX_RECONCILE',25);
define ('MAX_QCODE',4);
-if ( DEBUG ) error_reporting(2147483647); else error_reporting(0);
+if ( DEBUG ) {
+ error_reporting(2147483647);
+ ini_set("display_errors",1);
+ ini_set("html_errors",1);
+}
+ else {
+ error_reporting(0);
+ ini_set("display_errors",1);
+ ini_set("html_errors",1);
+
+}
// Erreur
define ("NOERROR",0);
define ("BADPARM",1);
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
_______________________________________________
Phpcompta est un logiciel libre de comptabilité en ligne
(http://www.phpcompta.eu)
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev