--- contrib/image_im_advanced/image_im_advanced.module~ 2008-12-27 08:58:41.000000000 +0200 +++ contrib/image_im_advanced/image_im_advanced.module 2009-01-30 20:38:18.000000000 +0200 @@ -137,7 +137,7 @@ function image_im_advanced_settings_vali } // Check that if the color profile is provided that it's a readable file. - if (!empty($options['profile']['path']) && (!is_file($options['profile']['path']) || !is_readable($options['profile']['path']))) { + if (!empty($options['profile']['path']) && (!file_exists($options['profile']['path']) || !is_readable($options['profile']['path']))) { form_set_error('image_im_advanced_options][profile][path', t('The ICC profile could not be read.')); } } --- contrib/image_im_advanced/image_im_advanced.install~ 2009-01-13 11:55:46.000000000 +0200 +++ contrib/image_im_advanced/image_im_advanced.install 2009-01-30 20:38:37.000000000 +0200 @@ -28,7 +28,7 @@ function image_im_advanced_requirements( } // If the imagemagick convert utility does not exist, indicate an error. $convert_path = variable_get('image_imagemagick_convert', '/usr/bin/convert'); - if (!is_file($convert_path)) { + if (!file_exists($convert_path)) { $requirements['imagemagick']['value'] = t('ImageMagick convert utility not found.'); $requirements['imagemagick']['description'] = t('The ImageMagick image convert utility (@convert) does not exist. If you have ImageMagick installed, click here to provide the path to the convert utility.', array('@convert' => $convert_path, '@toolkit' => url('admin/settings/image-toolkit'))); $requirements['imagemagick']['severity'] = REQUIREMENT_ERROR; --- image.imagemagick.inc~ 2008-12-27 08:58:41.000000000 +0200 +++ image.imagemagick.inc 2009-01-30 20:38:30.000000000 +0200 @@ -52,7 +52,7 @@ function _image_imagemagick_build_versio } function _image_imagemagick_check_path($path, $attach_error_to = FALSE) { - if (is_file($path)) { + if (file_exists($path)) { return TRUE; } if ($attach_error_to) {