index e16bc546a4e44e9544b1553d203a054c1dd60eec..151d29fdd1fa5d8eb6d1df351c957fa9c11fa1d0 100644 (file)
/* Ensure that setup is not reachable if gosa.conf (CONFIG_FILE) */
if(file_exists(CONFIG_DIR."/".CONFIG_FILE)){
- session_destroy();
+ session::destroy();
header("Location: index.php") ;
exit();
}
/* display step error msgs */
$msgs = $this->o_steps[$this->i_current]->check();
foreach($msgs as $msg){
- print_red($msg);
+ msg_dialog::display(_("Setup error"), $msg, ERROR_DIALOG);
}
$this->o_steps[$this->i_last]->set_active(FALSE);