mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Fixed small problem with finding Imagemagick
git-svn-id: file:///svn/phpbb/trunk@5017 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
4a6cefcb15
commit
fef9854c59
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue