bug:2479
External ImageMagick library is not properly detected git-svn-id: http://piwigo.org/svn/trunk@12493 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
467b40f710
commit
5c452b8084
1 changed files with 2 additions and 2 deletions
|
@ -271,8 +271,8 @@ class pwg_image
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@exec($conf['ext_imagick_dir'].'convert -version', $returnarray, $returnvalue);
|
@exec($conf['ext_imagick_dir'].'convert -version', $returnarray);
|
||||||
if (!$returnvalue and !empty($returnarray[0]) and preg_match('/ImageMagick/i', $returnarray[0]))
|
if (is_array($returnarray) and !empty($returnarray[0]) and preg_match('/ImageMagick/i', $returnarray[0]))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue