diff options
author | plegall <plg@piwigo.org> | 2011-03-24 13:11:25 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2011-03-24 13:11:25 +0000 |
commit | 4f058c1c72ff2c3b2d15558405c64efd3d644c30 (patch) | |
tree | 801980ed00ad907aad5308ee72e6f6144dcb615d | |
parent | 3629dedb7946d8c5307ac137ba1cf6747ecc707f (diff) |
change the way Piwigo checks Imagick availability to make it easier to call ImageMagick with exec() in a plugin
git-svn-id: http://piwigo.org/svn/trunk@9844 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/include/functions_upload.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/functions_upload.inc.php b/admin/include/functions_upload.inc.php index a0bcf34fe..eeec315d4 100644 --- a/admin/include/functions_upload.inc.php +++ b/admin/include/functions_upload.inc.php @@ -794,7 +794,7 @@ function add_upload_error($upload_id, $error_message) function is_imagick() { - if (extension_loaded('imagick')) + if (class_exists('Imagick')) { return true; } |