From 26c168d573513376c095de095cfe9749b945169b Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 24 Jul 2008 15:52:32 +0000 Subject: [PATCH] Updated php_setup git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12031 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/php_setup.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gosa-core/include/php_setup.inc b/gosa-core/include/php_setup.inc index a6790334c..299aceb9c 100644 --- a/gosa-core/include/php_setup.inc +++ b/gosa-core/include/php_setup.inc @@ -44,9 +44,7 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline) } /* Error messages are hidden in GOsa, so we only send them to the logging class and abort here */ - if((isset($config->data))){ - if((isset($config->data['MAIN']['DISPLAYERRORS']))&&(!preg_match("/^true$/i",$config->data['MAIN']['DISPLAYERRORS']))){ - + if(isset($config->data) && $config->get_cfg_value("displayerrors") == "true"){ /* Write to syslog */ if(class_exists("log") && !preg_match("/No such object/",$errstr)){ -- 2.30.2