X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fsetup%2Fclass_setupStep_Finish.inc;h=bb69bce6c7c370ecbf0f61787b60bae0fa02fd22;hb=c4d3493b6cc43ef013d8d9d1dd23db50c4d5d928;hp=3898c55c5bf4c50135207eb68a0b65aa5c3953e5;hpb=7f7f21906eb6121c29823abbf96461733d642509;p=gosa.git diff --git a/gosa-core/setup/class_setupStep_Finish.inc b/gosa-core/setup/class_setupStep_Finish.inc index 3898c55c5..bb69bce6c 100644 --- a/gosa-core/setup/class_setupStep_Finish.inc +++ b/gosa-core/setup/class_setupStep_Finish.inc @@ -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("get_gosa_version",get_gosa_version()); $str = $smarty->fetch(CONFIG_TEMPLATE_DIR.$this->gosa_conf_contrib); return($str); } @@ -65,7 +66,7 @@ class Step_Finish extends setup_step * - Permisssion are set correctly */ if(isset($_POST['next']) && $exists && !$this->is_world_readable(CONFIG_DIR."/".CONFIG_FILE)){ - session_destroy(); + session::destroy(); header("Location: index.php"); exit(); } @@ -97,7 +98,7 @@ class Step_Finish extends setup_step $err_msg= ""; if($exists && $this->is_world_readable(CONFIG_DIR."/".CONFIG_FILE)){ - $err_msg = _("Your configuration file is currently world readable. Please updated the file permissions!"); + $err_msg = _("Your configuration file is currently world readable. Please update the file permissions!"); }elseif(!$exists){ $err_msg = _("The configuration is currently not readable or it does not exists."); }