From b66e8ee627d033e0a5242a5aac8dcb4a7342a975 Mon Sep 17 00:00:00 2001 From: Bart van Bragt Date: Thu, 25 Nov 2004 21:52:47 +0000 Subject: [PATCH] Tiny fix for ImageMagick detection on windows git-svn-id: file:///svn/phpbb/trunk@5030 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/adm/admin_attachments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/adm/admin_attachments.php b/phpBB/adm/admin_attachments.php index 5bc7441978..f69bbbd9ef 100644 --- a/phpBB/adm/admin_attachments.php +++ b/phpBB/adm/admin_attachments.php @@ -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;