index 753751c52537d7e43e28845244038b07f8eea244..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);
$s = "<img src='images/empty.png' alt=' ' class='center'> ";
}
- if($_SESSION['js']){
+ if(session::get('js')){
$str .="<div >";