[AppDB] when debugging, report all errors
Jonathan Ernst
Jonathan at ErnstFamily.ch
Tue Dec 14 19:06:57 CST 2004
This patch makes the appdb to report all errors when debugging is set to
yes in the admin preferences panel.
CHANGELOG:
- reports error if debugging is on
File changed:
- include/incl.php
-------------- next part --------------
Index: include/incl.php
===================================================================
RCS file: /home/wine/appdb/include/incl.php,v
retrieving revision 1.7
diff -u -r1.7 incl.php
--- include/incl.php 13 Dec 2004 03:50:02 -0000 1.7
+++ include/incl.php 15 Dec 2004 01:03:56 -0000
@@ -246,4 +246,6 @@
$session = new session("whq_appdb");
$session->register("current");
+// if we are debugging we need to see all errors
+if(debugging()) error_reporting(E_ALL ^ E_NOTICE);
?>
More information about the wine-patches
mailing list