From: cajus Date: Thu, 24 Jul 2008 15:52:32 +0000 (+0000) Subject: Updated php_setup X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=26c168d573513376c095de095cfe9749b945169b;p=gosa.git Updated php_setup git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12031 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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)){