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:
parent
1defaf78b0
commit
8bec513d62
1 changed files with 0 additions and 4 deletions
|
@ -90,8 +90,6 @@ function check_im_version() {
|
||||||
}
|
}
|
||||||
// }}}
|
// }}}
|
||||||
function do_install() { // {{{
|
function do_install() { // {{{
|
||||||
session_start(); // hold temp stuff in session
|
|
||||||
|
|
||||||
if(!isset($_POST['database_dsn'])) {
|
if(!isset($_POST['database_dsn'])) {
|
||||||
begin();
|
begin();
|
||||||
}
|
}
|
||||||
|
@ -242,7 +240,6 @@ function write_config($dsn) { // {{{
|
||||||
|
|
||||||
if(is_writable("./") && installer_write_file("config.php", $file_content)) {
|
if(is_writable("./") && installer_write_file("config.php", $file_content)) {
|
||||||
assert(file_exists("config.php"));
|
assert(file_exists("config.php"));
|
||||||
session_destroy();
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$h_file_content = htmlentities($file_content);
|
$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>
|
<p>One done, <a href='index.php?q=setup'>Continue</a>
|
||||||
EOD;
|
EOD;
|
||||||
session_destroy();
|
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
} // }}}
|
} // }}}
|
||||||
|
|
Reference in a new issue