From 5801083a6bae07666e1e1885c779cbc38f187209 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 25 Jul 2008 13:00:38 +0000 Subject: [PATCH] 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 --- gosa-core/include/php_setup.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.30.2