1
0
Fork 0

Add support for imagemagick <3.3, refs #7762

pull/7806/head
Jordi Boggiano 2018-11-27 14:26:03 +01:00
parent 17fd933fd5
commit 489e0d4b12
1 changed files with 1 additions and 1 deletions

View File

@ -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;