summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7abdfd0)
raw | patch | inline | side by side (parent: 7abdfd0)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 May 2010 07:41:48 +0000 (07:41 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 May 2010 07:41:48 +0000 (07:41 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18323 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_log.inc | patch | blob | history |
index da5ca3d85f28af85b627d9706cb5101c9d2d1f0a..342135cabd9bed4c67e97b231323b1d2b60d5c05 100644 (file)
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("core","logging",""))){
+ if(is_object($config) && $config->boolValueIsTrue("core","logging")){
$this->log_into_syslog($entry);
}
}