forked from leftypol/leftypol
Show full filename on mouseover.
This commit is contained in:
parent
d62f0ee046
commit
339853e5de
6 changed files with 32 additions and 9 deletions
11
install.php
11
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue