File MIME
mfb - June 11, 2008 - 21:14
Drupal determines the MIME type of each uploaded file by applying a MIME extension mapping to the file name. The default mapping is hard-coded in the file_get_mimetype() function.
The File MIME module allows site administrators to replace the built-in mapping. For example, you may wish to serve .flac files as audio/x-flac rather than application/x-flac.
On the File MIME settings page, the custom mapping can be extracted from the server's mime.types file and/or configured via a text field.
Uninstalling this module will delete the mime_extension_mapping variable, thus restoring Drupal's built-in mapping.
Releases
| Official releases | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-1.1 | 2008-Aug-15 | 7.62 KB | Download · Release notes | Recommended for 6.x | |
| Development snapshots | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 7.x-1.x-dev | 2009-Sep-17 | 7.51 KB | Download · Release notes | Development snapshot | |
