From bbe62b64c0a40568ad37a19c997e70cfb70fc1a9 Mon Sep 17 00:00:00 2001 From: patdenice Date: Mon, 7 Nov 2011 15:34:08 +0000 Subject: bug:2496 Imagick library (class version) is not detected properly on some servers git-svn-id: http://piwigo.org/svn/trunk@12581 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/include/image.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/include') diff --git a/admin/include/image.class.php b/admin/include/image.class.php index 43eaaea4a..5586c021c 100644 --- a/admin/include/image.class.php +++ b/admin/include/image.class.php @@ -260,7 +260,7 @@ class pwg_image static function is_imagick() { - return extension_loaded('imagick'); + return (extension_loaded('imagick') and class_exists('Imagick')); } static function is_ext_imagick() -- cgit v1.2.3