Some minor glitches in the install process

git-svn-id: file:///svn/phpbb/trunk@4884 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Bart van Bragt 2004-05-11 12:12:11 +00:00
parent 729c3abd02
commit a958ed7b7b
2 changed files with 5 additions and 4 deletions

View file

@ -403,8 +403,9 @@ if ($stage == 0)
foreach ($locations as $location) 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); $img_imagick = str_replace('\\', '/', $location);
continue; continue;
} }
@ -1002,7 +1003,7 @@ if ($stage == 2)
<table class="bg" width="80%" cellspacing="1" cellpadding="4" border="0" align="center"> <table class="bg" width="80%" cellspacing="1" cellpadding="4" border="0" align="center">
<tr> <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> </tr>
</table> </table>
@ -1467,4 +1468,4 @@ function connect_check_db($error_connect, &$error, &$dbms, &$table_prefix, &$dbh
// FUNCTIONS // FUNCTIONS
// --------- // ---------
?> ?>

View file

@ -22,7 +22,7 @@ CREATE TABLE phpbb_attachments (
thumbnail tinyint(1) DEFAULT '0' NOT NULL, thumbnail tinyint(1) DEFAULT '0' NOT NULL,
PRIMARY KEY (attach_id), PRIMARY KEY (attach_id),
KEY filetime (filetime), KEY filetime (filetime),
KEY post_id (post_id), KEY post_msg_id (post_msg_id),
KEY topic_id (topic_id), KEY topic_id (topic_id),
KEY poster_id (poster_id), KEY poster_id (poster_id),
KEY physical_filename (physical_filename(10)), KEY physical_filename (physical_filename(10)),