Code

Added property class to get_cfg_requests
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 5 May 2010 10:05:55 +0000 (10:05 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 5 May 2010 10:05:55 +0000 (10:05 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18140 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_log.inc

index 13a128a74e0d8dfff262ed0f6976447e872aaae9..da5ca3d85f28af85b627d9706cb5101c9d2d1f0a 100644 (file)
@@ -87,7 +87,7 @@ class log {
         msg_dialog::display(_("Internal error"), sprintf(_("Logging failed: %s"), $msg), ERROR_DIALOG);
       }
     }else{
-      if(is_object($config) && preg_match("/true/i",$config->get_cfg_value("logging",""))){
+      if(is_object($config) && preg_match("/true/i",$config->get_cfg_value("core","logging",""))){
         $this->log_into_syslog($entry);
       }
     }