diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-10-01 22:12:31 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-10-01 22:12:31 +1000 |
| commit | 339853e5de9a1fb63116e0bd2014df3ecc6e32aa (patch) | |
| tree | 1b531791ca641fde275dc8ebb62a30705915e118 /install.php | |
| parent | d62f0ee046f130befb5cc63d813129156553ab9c (diff) | |
Show full filename on mouseover.
Diffstat (limited to 'install.php')
| -rw-r--r-- | install.php | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/install.php b/install.php index 160492cd..b701c6d3 100644 --- a/install.php +++ b/install.php @@ -1,6 +1,6 @@ <?php // Installation/upgrade file - define('VERSION', 'v0.9.3-dev-7'); + define('VERSION', 'v0.9.3-dev-8'); require 'inc/functions.php'; require 'inc/display.php'; @@ -102,8 +102,13 @@ } foreach($tables as &$table) { - query("ALTER TABLE `{$table}` ENGINE = MYISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci"); - } + query("ALTER TABLE `{$table}` ENGINE = MYISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci") or error(db_error()); + } + case 'v0.9.3-dev-7': + $boards = listBoards(); + foreach($boards as &$board) { + query(sprintf("ALTER TABLE `posts_%s` CHANGE `filename` `filename` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL", $board['uri'])) or error(db_error()); + } case false: // Update version number file_write($config['has_installed'], VERSION); |
