Code

Updated php_setup - set_error_handler
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 25 Jul 2008 13:00:38 +0000 (13:00 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 25 Jul 2008 13:00:38 +0000 (13:00 +0000)
-Only use the GOsa error handler for printable error types

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12052 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/php_setup.inc

index 722591c8bfc124231bc75878a6cf17a332316241..c5019e70ecdcf65a9228623a98560c886f72e82f 100644 (file)
@@ -266,7 +266,8 @@ error_reporting (E_ALL | E_STRICT);
 /* Register error handler */
 $error_collector= "";
 $error_collector_mailto= "";
-set_error_handler('gosaRaiseError');
+
+set_error_handler('gosaRaiseError', E_WARNING |  E_NOTICE | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE | E_STRICT) 
 
 $variables_order= "ES";
 ini_set("register_globals",0);