aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart van Bragt <bartvb@users.sourceforge.net>2004-11-25 21:52:47 +0000
committerBart van Bragt <bartvb@users.sourceforge.net>2004-11-25 21:52:47 +0000
commitb66e8ee627d033e0a5242a5aac8dcb4a7342a975 (patch)
tree211ae8f8a564c7f48e1b2e6842bda403db992725
parentd4d1307e1546393b40eeda8d762a6663d831a882 (diff)
downloadforums-b66e8ee627d033e0a5242a5aac8dcb4a7342a975.tar
forums-b66e8ee627d033e0a5242a5aac8dcb4a7342a975.tar.gz
forums-b66e8ee627d033e0a5242a5aac8dcb4a7342a975.tar.bz2
forums-b66e8ee627d033e0a5242a5aac8dcb4a7342a975.tar.xz
forums-b66e8ee627d033e0a5242a5aac8dcb4a7342a975.zip
Tiny fix for ImageMagick detection on windows
git-svn-id: file:///svn/phpbb/trunk@5030 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/adm/admin_attachments.php2
1 files changed, 1 insertions, 1 deletions
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;