-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add separate file `mime.types.custom` for custom mappings. - Update `bin/generate.php` to read new file with precedence. - Update `MimeMappingGenerator` to make sure arrays are unique. - Rebuild `mime.types.php`.
- Loading branch information
Showing
5 changed files
with
196 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# This file is in the same format as mime.types but the | ||
# mappings in this file take precedence. | ||
# | ||
# MIME type (lowercased) Extensions | ||
# ============================================ ========== | ||
|
||
application/font-woff wof | ||
application/php php | ||
application/x-font-otf otf | ||
application/x-font-ttf ttf ttc | ||
application/x-gzip zip | ||
application/x-httpd-php php | ||
application/x-httpd-php-source php | ||
application/x-php php | ||
audio/amr amr | ||
audio/mpeg mp3 mpga mp2 mp2a m2a m3a | ||
image/jpeg jpg jpeg jpe | ||
image/x-ms-bmp bmp | ||
text/php php | ||
text/x-php php |
Oops, something went wrong.