diff --git a/gosa-core/setup/class_setupStep_Finish.inc b/gosa-core/setup/class_setupStep_Finish.inc
index 3898c55c5bf4c50135207eb68a0b65aa5c3953e5..aecc280c0062c0ffe9450767af7a4d9abbc91321 100644 (file)
* - 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();
}
$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.");
}