From 6187bcce17c296420c0dba6f564197bad48b14ae Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 17 Sep 2008 06:13:19 +0000 Subject: [PATCH] Updated config. -Do not abort PHP execution if the SID/RIDbase is missing. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12492 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_config.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gosa-core/include/class_config.inc b/gosa-core/include/class_config.inc index 4426bbdec..cfa9beb8e 100644 --- a/gosa-core/include/class_config.inc +++ b/gosa-core/include/class_config.inc @@ -624,8 +624,7 @@ class config { /* If no samba servers are found, look for configured sid/ridbase */ if (count($this->data['SERVERS']['SAMBA']) == 0){ if (!isset($this->current["SAMBASID"]) || !isset($this->current["SAMBARIDBASE"])){ - msg_dialog::display(_("Configuration error"), _("sambaSID and/or sambaRidBase missing in the configuration!"), FATAL_ERROR_DIALOG); - exit(); + msg_dialog::display(_("Configuration error"), _("sambaSID and/or sambaRidBase missing in the configuration!"), ERROR_DIALOG); } else { $this->data['SERVERS']['SAMBA']['DEFAULT']= array( "SID" => $this->current["SAMBASID"], -- 2.30.2