mimedetect 5.x-1.0

drewish - July 21, 2008 - 21:11
Official release from CVS tag: DRUPAL-5--1-0
First released: July 21, 2008 - 21:11
Download: mimedetect-5.x-1.0.tar.gz
Size: 265.98 KB
md5_file hash: 6500b5aa76d8aaa393f079a17d0369c7
Last updated: July 21, 2008 - 21:15
View usage statistics for this release

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.
 
 

Drupal is a registered trademark of Dries Buytaert.