summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5bea5c9)
raw | patch | inline | side by side (parent: 5bea5c9)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 24 Jul 2008 15:52:32 +0000 (15:52 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 24 Jul 2008 15:52:32 +0000 (15:52 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12031 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/php_setup.inc | patch | blob | history |
index a6790334c5e05df572925738c060e9d46d20c2e7..299aceb9c0bd8385843abb4cc2c7c8fccaad9ad5 100644 (file)
}
/* 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)){