From 822ddbcc39fc2787239f3f5d54421a0c171d0649 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 13 Nov 2006 03:50:02 +0000 Subject: [PATCH] Alternative check for Graphics Magick git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5074 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/functions_setup.inc | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/include/functions_setup.inc b/include/functions_setup.inc index 8dac4a887..01b9f1a3c 100644 --- a/include/functions_setup.inc +++ b/include/functions_setup.inc @@ -338,6 +338,7 @@ function get_link($function_name) { $result= "=1.1.2)"), + _("GraphicsMagick is used to convert user supplied images to fit the suggested size and the unified JPEG format."), + ($major > 1 || ($major == 1 && $minor >= 1) || ($major == 1 && $minor == 1 && $minor2 >= 2) ) ); + } else { + $msg.= check ( $faults, _("Checking for ImageMagick (>=5.4.0)"), + _("ImageMagick is used to convert user supplied images to fit the suggested size and the unified JPEG format."), + ($major > 5 || ($major == 5 && $minor >= 4))); + } } else { $msg.= check ( $faults, _("Checking imagick module for PHP"), _("Imagick is used to convert user supplied images to fit the suggested size and the unified JPEG format from PHP script."), function_exists('imagick_blob2image'), TRUE); @@ -1198,5 +1206,4 @@ function get_available_mail_classes() return($methods); } -// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: -?> +// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:ae> -- 2.30.2