From 6c0af486a8f68cf0dd3d529511c05019982d9b03 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 13 Jun 2006 06:58:43 +0000 Subject: [PATCH] Updated config check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3790 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_plugin.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/class_plugin.inc b/include/class_plugin.inc index 3fca2b055..b4f7b1efb 100644 --- a/include/class_plugin.inc +++ b/include/class_plugin.inc @@ -1063,6 +1063,11 @@ class plugin $ldap->cd($this->config->current['BASE']); $tmp = $this->config->data['MAIN']; + if(!isset($tmp['SNAPSHOT_BASE'])){ + print_red(_("Please specify the attribute SNAPSHOT_SERVER in your gosa.conf.")); + return(array()); + } + /* check if there are special server configurations for snapshots */ if(isset($tmp['SNAPSHOT_SERVER'])){ $server = $tmp['SNAPSHOT_SERVER']; -- 2.30.2