mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user