Tiny fix for ImageMagick detection on windows

git-svn-id: file:///svn/phpbb/trunk@5030 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Bart van Bragt 2004-11-25 21:52:47 +00:00
parent d4d1307e15
commit b66e8ee627

View file

@ -1471,7 +1471,7 @@ function search_imagemagick()
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)
{
$imagick = str_replace('\\', '/', $location);
continue;