Tree:
db666dcfdc
2.x
6.x
6.x-release
7.x
7.x-1.10
7.x-1.11
7.x-1.12
7.x-1.13
7.x-1.3
7.x-1.4
7.x-1.5
7.x-1.6
7.x-1.7
7.x-1.8
7.x-1.9
7.x-2.x
7.x-fedora-4
7.x-release
8.x-1.x
8.x0
953-hocr-media-updated
959-hocr-tiff-performance
959-iiif-performance
959-iiif-width-height-caching
IIIFManifest_speedup
MNPALS-2.x
d9_islandora
hocr_media_redux
improve_error_ms_for_permissions
issue-1870-undefined-index-rel
main
master
master-main-rename
ocr_mime
removing-doxygen-and-jenkins-stuff
rosiel-views-filter
travis-3.7.0
1.0.0
1.1.0
1.1.1
2.0.0
2.0.1
2.1.0
2.1.1
2.10.0
2.11.0
2.12.0
2.2.0
2.2.1
2.3.0
2.4.0
2.4.1
2.4.2
2.4.3
2.4.4
2.4.5
2.5.0
2.5.1
2.6.0
2.6.1
2.6.2
2.7.0
2.7.1
2.8.0
2.8.1
2.8.2
2.8.3
2.9.0
2.9.1
6.x-11.1.0
6.x-11.1.1
6.x-11.3
6.x-11.3.1
6.x-11.3beta1
6.x-11.3beta2
6.x-11.3beta3
6.x-12.1-RC1
6.x-12.1-RC2
6.x-12.1-RC3
6.x-12.1.0
6.x-12.2.0
6.x-12.2.0-RC1
6.x-12.2.0-RC2
6.x-12.2.0-RC3
6.x-12.3.0-RC
6.x-12.3.0-RC1
6.x-13.1
6.x-13.1-RC1
7.x-1.0
7.x-1.1
7.x-1.1-RC1
7.x-1.1-RC2
7.x-1.10
7.x-1.11
7.x-1.12
7.x-1.13
7.x-1.2
7.x-1.2-RC1
7.x-1.2-RC2
7.x-1.3
7.x-1.3-RC1
7.x-1.4
7.x-1.4-RC1
7.x-1.5
7.x-1.5RC
7.x-1.6
7.x-1.6-RC1
7.x-1.7
7.x-1.7-RC2
7.x-1.8
7.x-1.9
8.x-1.1
php5.3-eol
v11.1.0
v11.1.1
v2.6.3
v2.6.4
${ noResults }
1 Commits (db666dcfdc8d477079f7ae788a305bede55fb3aa)
Author | SHA1 | Message | Date |
---|---|---|---|
Andrew Reddin | db666dcfdc |
updated mime_detect.inc to use internal drupal file_mimetype_mapping function
A SimpleTest file has also been included to allow you to test this file for errors. Please note the require once directive at the top of tests/MimeClass.test. I am not sure if this is Drupal kosher, but the test wouldn't work without it. There is probably a way around this include statement but I will leave this to the Drupal experts. Note that the Drupal 7 function file_mimetype_mapping has a Drupal alter statement: // Allow modules to alter the default mapping. drupal_alter('file_mimetype_mapping', $mapping); using this hook, you can add to this internal mime type list without updating drupal core. Hope this helps! If there are any questions please feel free to email me at andrewfreddin@gmail.com |
12 years ago |