diff options
author | Bart van Bragt <bartvb@users.sourceforge.net> | 2004-11-01 12:26:29 +0000 |
---|---|---|
committer | Bart van Bragt <bartvb@users.sourceforge.net> | 2004-11-01 12:26:29 +0000 |
commit | fef9854c59514a460f542105008a2ec8df3610f4 (patch) | |
tree | 02671b73dd147f7381beb4260a68d9b379473e07 | |
parent | 4a6cefcb151a5cb8ba4c0e347af7d80beb9c2034 (diff) | |
download | forums-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.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 +?> |