/** * Return Image Magick executable * * @return string */ public static function getImageMagickExecutable() { $imageMagickPath = \Includes\Utils\ConfigParser::getOptions(array('images', 'image_magick_path')); return !empty($imageMagickPath) ? \Includes\Utils\FileManager::findExecutable($imageMagickPath . 'convert') : ''; }