From: hickert Date: Tue, 13 Jun 2006 06:58:43 +0000 (+0000) Subject: Updated config check X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6c0af486a8f68cf0dd3d529511c05019982d9b03;p=gosa.git Updated config check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3790 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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'];