From c89531e4c1059e1be985660963bf686dfd15e9bf Mon Sep 17 00:00:00 2001 From: Jonathan Ernst Date: Sat, 18 Dec 2004 01:56:08 +0000 Subject: [PATCH] Appdb should report errors when debugging is set to yes in the preferences panel --- include/incl.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/incl.php b/include/incl.php index 94fc7ad..92c4ef1 100644 --- a/include/incl.php +++ b/include/incl.php @@ -246,4 +246,6 @@ opendb(); $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); ?>