mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
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:
parent
d4d1307e15
commit
b66e8ee627
1 changed files with 1 additions and 1 deletions
|
@ -1471,7 +1471,7 @@ function search_imagemagick()
|
||||||
|
|
||||||
foreach ($locations as $location)
|
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);
|
$imagick = str_replace('\\', '/', $location);
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Reference in a new issue