aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/install')
-rw-r--r--phpBB/install/install.php7
-rw-r--r--phpBB/install/schemas/mysql_schema.sql2
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)),