Code

Added xml quote to dependencies
[gosa.git] / gosa-core / setup / class_setupStep_Config2.inc
index 89103e75b082f0ac404dd3bd16d54c6997d7efb2..9f8397119834a6660042295c834784801d7ce3d5 100644 (file)
@@ -24,7 +24,7 @@ class Step_Config2 extends setup_step
 {
   var $governmentmode = FALSE;
   var $sambaidmapping = FALSE;
-  var $header_image = "images/ldapserver.png";
+  var $header_image = "images/setup/server.png";
 
   var $cyrusunixstyle = FALSE;
   var $mail           = "none";
@@ -311,6 +311,11 @@ class Step_Config2 extends setup_step
   {
     global $class_mapping;
 
+    /* Check if we have the mail classes/plugins installed */
+    if(!class_available("mailMethod")){
+      return(array());
+    }
+
     $default_uattrib = "";
     $m_class_vars = get_class_vars("mailMethod");
     if(isset($m_class_vars['uattrib'])){