summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 435d036)
raw | patch | inline | side by side (parent: 435d036)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 5 Mar 2010 17:48:12 +0000 (17:48 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 5 Mar 2010 17:48:12 +0000 (17:48 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16316 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/php_setup.inc | patch | blob | history |
index f57c9b1820b58cb82a0c3b6cb7aa130fbd42a175..82289820300c81a961f69b28b8b35a63711b7d59 100644 (file)
// 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;