aboutsummaryrefslogtreecommitdiffstats
path: root/include/photo
diff options
context:
space:
mode:
authorhabeascodice <habeascodice@federated.social>2014-10-11 05:41:14 -0700
committerhabeascodice <habeascodice@federated.social>2014-10-11 05:41:14 -0700
commit89faf23aacaaabf07ccf9a6c7b8f0af5b1e581bd (patch)
tree598928300196120d90a28aac79e57d213dd61779 /include/photo
parent328ed8bb1b5f73626a032091a78609aea312f5ae (diff)
parentbde8c6d39e1ccf7a53569cc652a62b5447d3243f (diff)
downloadvolse-hubzilla-89faf23aacaaabf07ccf9a6c7b8f0af5b1e581bd.tar.gz
volse-hubzilla-89faf23aacaaabf07ccf9a6c7b8f0af5b1e581bd.tar.bz2
volse-hubzilla-89faf23aacaaabf07ccf9a6c7b8f0af5b1e581bd.zip
Merge branch 'master' of https://github.com/habeascodice/red
Diffstat (limited to 'include/photo')
-rw-r--r--include/photo/photo_driver.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/photo/photo_driver.php b/include/photo/photo_driver.php
index 508d82957..9cd05e26e 100644
--- a/include/photo/photo_driver.php
+++ b/include/photo/photo_driver.php
@@ -8,6 +8,7 @@ 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);