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); ?>