diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-08-15 00:49:52 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-08-15 00:49:52 +1000 |
| commit | e3f2aa8da34ae0094c0257b770c4089da7d2ca6f (patch) | |
| tree | 76999e23d4950fd0cd992521a9725d3e9a8868ad /install.php | |
| parent | 21622388137b0306fd318aefffc3b4b88a4e75f9 (diff) | |
...
Diffstat (limited to 'install.php')
| -rw-r--r-- | install.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/install.php b/install.php index 3dace266..2877d498 100644 --- a/install.php +++ b/install.php @@ -100,10 +100,7 @@ $page['title'] = 'Already installed'; $page['body'] = '<p style="text-align:center">It appears that Tinyboard is already installed (' . $version . ') and there is nothing to upgrade! Delete <strong>' . $config['has_installed'] . '</strong> to reinstall.</p>'; break; - } - - sql_close(); - + } die(Element('page.html', $page)); } @@ -414,8 +411,6 @@ buildIndex(); } - sql_close(); - $page['title'] = 'Installation complete'; $page['body'] = '<p style="text-align:center">Thank you for using Tinyboard. Please remember to report any bugs you discover.</p>'; |
