From 4f058c1c72ff2c3b2d15558405c64efd3d644c30 Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 24 Mar 2011 13:11:25 +0000 Subject: 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 --- admin/include/functions_upload.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/include') 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; } -- cgit v1.2.3