diff --git a/install.php b/install.php index a510631e..a6937028 100644 --- a/install.php +++ b/install.php @@ -645,18 +645,18 @@ if ($step == 0) { $sql_errors .= '
Thank you for using Tinyboard. Please remember to report any bugs you discover. How do I edit the config files?
'; if (!empty($sql_errors)) { $page['body'] .= 'SQL errors were encountered when trying to install the database. This may be the result of using a database which is already occupied with a Tinyboard installation; if so, you can probably ignore this.
The errors encountered were:
I couldn\'t remove install.php. You will have to remove it manually.
Thank you for using Tinyboard. Please remember to report any bugs you discover.
'; + $boards = listBoards(); + foreach ($boards as &$_board) { + setupBoard($_board); + buildIndex(); + } + file_write($config['has_installed'], VERSION); if (!file_unlink(__FILE__)) { $page['body'] .= 'I couldn\'t remove install.php. You will have to remove it manually.