aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart van Bragt <bartvb@users.sourceforge.net>2004-11-01 12:26:29 +0000
committerBart van Bragt <bartvb@users.sourceforge.net>2004-11-01 12:26:29 +0000
commitfef9854c59514a460f542105008a2ec8df3610f4 (patch)
tree02671b73dd147f7381beb4260a68d9b379473e07
parent4a6cefcb151a5cb8ba4c0e347af7d80beb9c2034 (diff)
downloadforums-fef9854c59514a460f542105008a2ec8df3610f4.tar
forums-fef9854c59514a460f542105008a2ec8df3610f4.tar.gz
forums-fef9854c59514a460f542105008a2ec8df3610f4.tar.bz2
forums-fef9854c59514a460f542105008a2ec8df3610f4.tar.xz
forums-fef9854c59514a460f542105008a2ec8df3610f4.zip
Fixed small problem with finding Imagemagick
git-svn-id: file:///svn/phpbb/trunk@5017 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/install/install.php5
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
+?>