Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Moved non-apache mime types to the bottom
  • Loading branch information
Nyholm authored Aug 31, 2016
commit 47974a2292f1cb41f518e921b85b0b8b0dbcb889
4 changes: 3 additions & 1 deletion src/ApacheMimetypeHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ public function getMimetypeFromExtension($extension)
'pbm' => 'image/x-portable-bitmap',
'pdf' => 'application/pdf',
'pgm' => 'image/x-portable-graymap',
'pkpass' => 'application/vnd.apple.pkpass',
'png' => 'image/png',
'pnm' => 'image/x-portable-anymap',
'ppm' => 'image/x-portable-pixmap',
Expand Down Expand Up @@ -128,6 +127,9 @@ public function getMimetypeFromExtension($extension)
'yaml' => 'text/yaml',
'yml' => 'text/yaml',
'zip' => 'application/zip',

// Non-Apache standard
'pkpass' => 'application/vnd.apple.pkpass',
'msg' => 'application/vnd.ms-outlook',
];

Expand Down