X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fphp_setup.inc;h=82289820300c81a961f69b28b8b35a63711b7d59;hb=7ce564d554053c9ff7ae13d00df50f5a1961357d;hp=5e28ac82daea7fa1c3debde91462297e0b2ef0f3;hpb=f9abca36fc507780c83cec66ff92f9828b955de0;p=gosa.git diff --git a/gosa-core/include/php_setup.inc b/gosa-core/include/php_setup.inc index 5e28ac82d..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; @@ -106,13 +109,13 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline) - -
"; +