From 5dc3b154c8650fc4b0b9291d3b51b120e71ab320 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 11 Sep 2008 11:43:05 +0000 Subject: [PATCH] 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 --- gosa-core/include/class_config.inc | 4 ++++ 1 file changed, 4 insertions(+) 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]); } -- 2.30.2