Skip to content

Commit

Permalink
Add mime type detection under FreeBSD and Apache 2.4 (#5560)
Browse files Browse the repository at this point in the history
  • Loading branch information
j-carl authored and alecpl committed Dec 13, 2016
1 parent 945a225 commit de82576
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions program/lib/Roundcube/rcube_mime.php
Expand Up @@ -779,6 +779,7 @@ public static function get_mime_extensions($mimetype = null)
$file_paths[] = '/etc/nginx/mime.types';
$file_paths[] = '/usr/local/etc/httpd/conf/mime.types';
$file_paths[] = '/usr/local/etc/apache/conf/mime.types';
$file_paths[] = '/usr/local/etc/apache24/mime.types';
}

foreach ($file_paths as $fp) {
Expand Down

0 comments on commit de82576

Please sign in to comment.