From 5fc74b3e87a98ba7e976a9af16995b00ffcfedb1 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 5 Mar 2010 17:48:12 +0000 Subject: [PATCH] Addd comment git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16316 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/php_setup.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gosa-core/include/php_setup.inc b/gosa-core/include/php_setup.inc index f57c9b182..822898203 100644 --- a/gosa-core/include/php_setup.inc +++ b/gosa-core/include/php_setup.inc @@ -29,7 +29,10 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline) // To avoid recursion - restore original error handler. restore_error_handler(); - /* Return if error reporting is set to zero */ + /* Return if error reporting is set to zero + * Also exclude statements prefixed with @ - Comment out the block below to see suppressed errors. + * e.g. @call_function_but_hide_errors() + */ if (error_reporting() == 0){ set_error_handler('gosaRaiseError', E_WARNING | E_NOTICE | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE | E_STRICT) ; return; -- 2.30.2