Download Size md5 hash
mimedetect-5.x-1.0.tar.gz 265.98 KB 6500b5aa76d8aaa393f079a17d0369c7
mimedetect-5.x-1.0.zip 273.42 KB 6d2cea5640d357e1f325f75b46b5a8c9
Official release from tag: 5.x-1.0
Last updated: December 24, 2010 - 23:22

Changes since DRUPAL-5--1-0-beta: Module review, resulting mostly in style improvements, but also some "real" changes

  • Use the 'mimedetect_file_binary' variable instead of 'filefield_file_binary'.
  • Use a $t() instead of t() in the requirements function.
  • Merge the last two mime type checks.
  • Move the declaration of the $mime variable further down for better readability, and remove an unnecessary check on !$mime.
  • Add the mime type for png, and fix ico and rgb (was 'rbg' before).
  • Tune user visible strings for sounding "official" and consistent casing.
  • Remove trailing spaces.
  • strip charsets from text mime types returned by the UNIX 'file' command.