no need for session stuff

git-svn-id: file:///home/shish/svn/shimmie2/trunk@707 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2008-01-27 17:03:15 +00:00
parent 1defaf78b0
commit 8bec513d62

View file

@ -90,8 +90,6 @@ function check_im_version() {
}
// }}}
function do_install() { // {{{
session_start(); // hold temp stuff in session
if(!isset($_POST['database_dsn'])) {
begin();
}
@ -242,7 +240,6 @@ function write_config($dsn) { // {{{
if(is_writable("./") && installer_write_file("config.php", $file_content)) {
assert(file_exists("config.php"));
session_destroy();
}
else {
$h_file_content = htmlentities($file_content);
@ -256,7 +253,6 @@ function write_config($dsn) { // {{{
<p>One done, <a href='index.php?q=setup'>Continue</a>
EOD;
session_destroy();
exit;
}
} // }}}