From: hickert Date: Thu, 11 Sep 2008 11:43:05 +0000 (+0000) Subject: Updated config. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5dc3b154c8650fc4b0b9291d3b51b120e71ab320;p=gosa.git Updated config. -Prepared config to support logging DB name. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12422 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_config.inc b/gosa-core/include/class_config.inc index 9b789f7d3..ddc26fcf3 100644 --- a/gosa-core/include/class_config.inc +++ b/gosa-core/include/class_config.inc @@ -523,8 +523,12 @@ class config { $ldap->search ("(objectClass=goLogDBServer)"); if ($ldap->count()){ $attrs= $ldap->fetch(); + if(!isset($attrs['goLogDB'][0])){ + $attrs['goLogDB'][0] = "gomon"; + } $this->data['SERVERS']['LOG']= array( 'SERVER' => $attrs['cn'][0], 'LOGIN' => $attrs['goLogAdmin'][0], + 'DB' => $attrs['goLogDB'][0], 'PASSWORD' => $attrs['goLogPassword'][0]); }