aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2011-11-07 15:34:08 +0000
committerpatdenice <patdenice@piwigo.org>2011-11-07 15:34:08 +0000
commitbbe62b64c0a40568ad37a19c997e70cfb70fc1a9 (patch)
treeb49f67208fc6105f8e57911f9d60027523db3084 /admin/include
parent31689aeca1bee1c5e12c4645583e4f002d5ec17e (diff)
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
Diffstat (limited to '')
-rw-r--r--admin/include/image.class.php2
1 files changed, 1 insertions, 1 deletions
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()