aboutsummaryrefslogtreecommitdiffstats
path: root/include/photo/photo_driver.php
diff options
context:
space:
mode:
authorhabeascodice <habeascodice@federated.social>2014-10-07 22:34:30 -0700
committerhabeascodice <habeascodice@federated.social>2014-10-07 22:34:30 -0700
commitf84453497bd5ef4eba8bca84917b8e82d784937a (patch)
tree0631a262d4a6e481da876e6248a0cd3f282ca9cd /include/photo/photo_driver.php
parentc01a9839577a5fc3a8965713e206616edc586c74 (diff)
downloadvolse-hubzilla-f84453497bd5ef4eba8bca84917b8e82d784937a.tar.gz
volse-hubzilla-f84453497bd5ef4eba8bca84917b8e82d784937a.tar.bz2
volse-hubzilla-f84453497bd5ef4eba8bca84917b8e82d784937a.zip
x
Diffstat (limited to 'include/photo/photo_driver.php')
-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 42997060b..15eac5a6d 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);