MIME type fix #31

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

finfo_file() doesn't detect mime types of CSS and JS files appropriately because of the lack of magic strings in those files. This fix disables finfo_file() and mime_content_type() when detecting mime types for CSS and JS files.

@shaneiseminger shaneiseminger finfo_file() doesn't detect mime types for CSS and JS files correctly…
… because of the lack of magic strings in those files. This fix disables finfo_file() and mime_content_type() when detecting mime types for CSS and JS files.
ecb0efd

@tpyo tpyo added a commit that referenced this pull request Oct 5, 2013

@tpyo tpyo Updated __getMIMEType and removed deprecated mime_content_type() call…
…s (fixes issues #31 and #57)
2cf80b2
Owner

tpyo commented Oct 5, 2013

Thanks, a similar change has been made that fixes the issue. Sorry for the late response.

tpyo closed this Oct 5, 2013

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