Code

Updated config.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Sep 2008 06:13:19 +0000 (06:13 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Sep 2008 06:13:19 +0000 (06:13 +0000)
-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

index 4426bbdec456dee7d499994c7e2b07e2f0db87aa..cfa9beb8e6a41e2e6487ba7176a09cc3b8839b8d 100644 (file)
@@ -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"],