mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-21 14:35:18 +00:00
Merge branch 'master' of https://github.com/habeascodice/red
This commit is contained in:
commit
084468670b
1 changed files with 0 additions and 1 deletions
|
@ -8,7 +8,6 @@ function photo_factory($data, $type = null) {
|
|||
if(class_exists('Imagick') && !$ignore_imagick) {
|
||||
$v = Imagick::getVersion();
|
||||
preg_match('/ImageMagick ([0-9]+\.[0-9]+\.[0-9]+)/', $v['versionString'], $m);
|
||||
logger('image v='.$v.',v[ver]='.$v['versionString'].',matches='.var_export($m, true), LOGGER_DEBUG);
|
||||
if(version_compare($m[1],'6.6.7') >= 0) {
|
||||
require_once('include/photo/photo_imagick.php');
|
||||
$ph = new photo_imagick($data,$type);
|
||||
|
|
Loading…
Reference in a new issue