diff options
-rw-r--r-- | phpBB/install/install.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/phpBB/install/install.php b/phpBB/install/install.php index 883e8133c5..997597a2cc 100644 --- a/phpBB/install/install.php +++ b/phpBB/install/install.php @@ -406,9 +406,8 @@ if ($stage == 0) foreach ($locations as $location) { - if (@file_exists($location . 'convert' . $exe) && @is_readable($location . 'convert' . $exe) && @filesize($location . 'convert' . $exe) > 10000) + if (@is_readable($location . 'mogrify' . $exe) && @filesize($location . 'mogrify' . $exe) > 3000) { - print $location; $img_imagick = str_replace('\\', '/', $location); continue; } @@ -1464,4 +1463,4 @@ function connect_check_db($error_connect, &$error, &$dbms, &$table_prefix, &$dbh // FUNCTIONS // --------- -?>
\ No newline at end of file +?> |