diff options
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>'; |
