|
|
@ -1,7 +1,7 @@ |
|
|
|
<?php |
|
|
|
|
|
|
|
// Installation/upgrade file |
|
|
|
define('VERSION', 'v0.9.6-dev-7'); |
|
|
|
define('VERSION', 'v0.9.6-dev-7 + <a href="https://github.com/vichan-devel/Tinyboard/">vichan-devel-4.0-gold</a>'); |
|
|
|
|
|
|
|
require 'inc/functions.php'; |
|
|
|
|
|
|
@ -227,6 +227,7 @@ if (file_exists($config['has_installed'])) { |
|
|
|
query(sprintf("CREATE INDEX `thread_id` ON `posts_%s` (`thread`, `id`)", $_board['uri'])) or error(db_error()); |
|
|
|
query(sprintf("ALTER TABLE `posts_%s` DROP INDEX `thread`", $_board['uri'])) or error(db_error()); |
|
|
|
} |
|
|
|
case 'v0.9.6-dev-7': |
|
|
|
case false: |
|
|
|
// Update version number |
|
|
|
file_write($config['has_installed'], VERSION); |
|
|
|