diff options
author | Bart van Bragt <bartvb@users.sourceforge.net> | 2004-05-11 12:12:11 +0000 |
---|---|---|
committer | Bart van Bragt <bartvb@users.sourceforge.net> | 2004-05-11 12:12:11 +0000 |
commit | a958ed7b7be9cf78c982946c9ec1f8cb2aa8983a (patch) | |
tree | bd7417b475054a1c9a91aaefe106ca2ba5ac7dfa /phpBB/install | |
parent | 729c3abd02fc564fb99be53ba5fba450a073197f (diff) | |
download | forums-a958ed7b7be9cf78c982946c9ec1f8cb2aa8983a.tar forums-a958ed7b7be9cf78c982946c9ec1f8cb2aa8983a.tar.gz forums-a958ed7b7be9cf78c982946c9ec1f8cb2aa8983a.tar.bz2 forums-a958ed7b7be9cf78c982946c9ec1f8cb2aa8983a.tar.xz forums-a958ed7b7be9cf78c982946c9ec1f8cb2aa8983a.zip |
Some minor glitches in the install process
git-svn-id: file:///svn/phpbb/trunk@4884 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install')
-rw-r--r-- | phpBB/install/install.php | 7 | ||||
-rw-r--r-- | phpBB/install/schemas/mysql_schema.sql | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/phpBB/install/install.php b/phpBB/install/install.php index de84110bb8..a7f7691876 100644 --- a/phpBB/install/install.php +++ b/phpBB/install/install.php @@ -403,8 +403,9 @@ if ($stage == 0) foreach ($locations as $location) { - if (@file_exists($location . 'convert' . $exe) && @is_readable($location . 'convert' . $exe) && @filesize($location . 'convert' . $exe) > 80000) + if (@file_exists($location . 'convert' . $exe) && @is_readable($location . 'convert' . $exe) && @filesize($location . 'convert' . $exe) > 30000) { + print $location; $img_imagick = str_replace('\\', '/', $location); continue; } @@ -1002,7 +1003,7 @@ if ($stage == 2) <table class="bg" width="80%" cellspacing="1" cellpadding="4" border="0" align="center"> <tr> - <td class="cat" align="center"><input class="btnmain" name="retry" type="submit" value="<?php echo $lang['CONFIG_RETRY']; ?>Retry" /></td> + <td class="cat" align="center"><input class="btnmain" name="retry" type="submit" value="<?php echo $lang['CONFIG_RETRY']; ?>" /></td> </tr> </table> @@ -1467,4 +1468,4 @@ function connect_check_db($error_connect, &$error, &$dbms, &$table_prefix, &$dbh // FUNCTIONS // --------- -?>
\ No newline at end of file +?> diff --git a/phpBB/install/schemas/mysql_schema.sql b/phpBB/install/schemas/mysql_schema.sql index 175df87886..7a9a264a8c 100644 --- a/phpBB/install/schemas/mysql_schema.sql +++ b/phpBB/install/schemas/mysql_schema.sql @@ -22,7 +22,7 @@ CREATE TABLE phpbb_attachments ( thumbnail tinyint(1) DEFAULT '0' NOT NULL, PRIMARY KEY (attach_id), KEY filetime (filetime), - KEY post_id (post_id), + KEY post_msg_id (post_msg_id), KEY topic_id (topic_id), KEY poster_id (poster_id), KEY physical_filename (physical_filename(10)), |