? fileinfo.patch Index: mimedetect.install =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/mimedetect/mimedetect.install,v retrieving revision 1.3 diff -u -p -r1.3 mimedetect.install --- mimedetect.install 21 Jul 2008 21:50:43 -0000 1.3 +++ mimedetect.install 16 Mar 2009 20:39:47 -0000 @@ -28,7 +28,7 @@ function mimedetect_requirements($phase) if (extension_loaded('fileinfo')) { $requirement['value'] = $t('PHP Fileinfo Extension'); - if (!$finfo = @finfo_open(FILEINFO_MIME, drupal_get_path('module', 'mimedetect') .'/magic')) { + if (!$finfo = @finfo_open(FILEINFO_MIME, drupal_get_path('module', 'mimedetect') .'/magic.mime')) { $requirement['description'] = $t('Fileinfo could not load the magic file. It could be corrupted. Try reinstalling the magic file distributed with the MimeDetect module.'); $requirement['severity'] = REQUIREMENT_ERROR; } @@ -53,4 +53,4 @@ function mimedetect_requirements($phase) } return array('mimedetect' => $requirement); -} \ No newline at end of file +}