Fixed a bug when ImageMagick is not installed
This commit is contained in:
parent
4d74507b06
commit
bcf281a220
@ -98,7 +98,7 @@ $json = json_decode($json, true);
|
|||||||
$imagick = extension_loaded('imagick');
|
$imagick = extension_loaded('imagick');
|
||||||
if ($imagick===false) $imagick = '-';
|
if ($imagick===false) $imagick = '-';
|
||||||
|
|
||||||
$imagickVersion = @Imagick::getVersion();
|
if ($imagick===true) $imagickVersion = @Imagick::getVersion();
|
||||||
if (!isset($imagickVersion)||$imagickVersion==='') $imagickVersion = '-';
|
if (!isset($imagickVersion)||$imagickVersion==='') $imagickVersion = '-';
|
||||||
|
|
||||||
$gdVersion = gd_info();
|
$gdVersion = gd_info();
|
||||||
|
Loading…
Reference in New Issue
Block a user