From: hickert Date: Fri, 25 Jul 2008 13:00:38 +0000 (+0000) Subject: Updated php_setup - set_error_handler X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5801083a6bae07666e1e1885c779cbc38f187209;p=gosa.git Updated php_setup - set_error_handler -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 --- diff --git a/gosa-core/include/php_setup.inc b/gosa-core/include/php_setup.inc index 722591c8b..c5019e70e 100644 --- a/gosa-core/include/php_setup.inc +++ b/gosa-core/include/php_setup.inc @@ -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);