Code

Updated gosa.conf ACL tag for systems
[gosa.git] / gosa-core / setup / class_setupStep_Finish.inc
index aecc280c0062c0ffe9450767af7a4d9abbc91321..b32aeea049697a10e08822e2b61bd9514a2f3564 100644 (file)
@@ -43,7 +43,8 @@ class Step_Finish extends setup_step
   function get_conf_data()
   {
     $smarty = get_smarty();
-    $smarty->assign("cv",$this->parent->captured_values);
+    $smarty->assign("cv",xmlentities($this->parent->captured_values));
+    $smarty->assign("config_checksum", md5(file_get_contents(CONFIG_TEMPLATE_DIR.$this->gosa_conf_contrib)));
     $str =  $smarty->fetch(CONFIG_TEMPLATE_DIR.$this->gosa_conf_contrib);
     return($str);
   }  
@@ -54,8 +55,7 @@ class Step_Finish extends setup_step
 
     $info= posix_getgrgid(posix_getgid());
     $webgroup = $info['name'];
-      
-    
+
     /* Check if there is currently an active gosa.conf 
      */
     $exists = file_exists(CONFIG_DIR."/".CONFIG_FILE);