/** * Checks if ImageMagick is enabled. * * @throws Gleez_Exception * @return boolean */ public static function check() { if (!extension_loaded('imagick')) { throw new Gleez_Exception('Imagick is not installed, or the extension is not loaded'); } return Image_Imagick::$_checked = TRUE; }