Skip to content

Conversation

@kensnyder
Copy link

  • New function _getMIMETypeByFilename with an extensive lookup of
    extensions
  • Call that function within _getMIMEType before using the fileinfo
    extension
  • I realize that this codebase may not be maintained any longer but I thought I would share my changes

- New function _getMIMETypeByFilename with an extensive lookup of
extensions
- Call that function within _getMIMEType before using the fileinfo
extension
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice if these were alphabetically sorted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants