Add support for imagemagick <3.3, refs #7762
parent
17fd933fd5
commit
489e0d4b12
|
@ -164,7 +164,7 @@ class PlatformRepository extends ArrayRepository
|
|||
$reflector->info();
|
||||
$output = ob_get_clean();
|
||||
|
||||
preg_match('/^Imagick using ImageMagick library version => ImageMagick ([\d.]+)-(\d+)/m', $output, $matches);
|
||||
preg_match('/^(Imagick using ImageMagick library version|ImageMagick version) => ImageMagick ([\d.]+)-(\d+)/m', $output, $matches);
|
||||
$prettyVersion = "{$matches[1]}.{$matches[2]}";
|
||||
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue