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
This commit is contained in:
plegall
2011-03-24 13:11:25 +00:00
parent 3629dedb79
commit 4f058c1c72
+1 -1
View File
@@ -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;
}