Skip to content

Commit

Permalink
Update elFinderVolumeDriver.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sdieunidou authored Dec 4, 2018
1 parent 465cf58 commit 2c4eec7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion php/elFinderVolumeDriver.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,11 @@ abstract class elFinderVolumeDriver {
),
// An option to add MimeMap to the `mimeMap` option
// Array '[ext]:[detected mime type]' => '[normalized mime]'
'additionalMimeMap' => array(),
'additionalMimeMap' => array(
'ini:*' => 'text/plain',
'properties:*' => 'text/plain',
'cfg:*' => 'text/plain',
),
// MIME-Type of filetype detected as unknown
'mimeTypeUnknown' => 'application/octet-stream',
// MIME regex of send HTTP header "Content-Disposition: inline" or allow preview in quicklook
Expand Down

0 comments on commit 2c4eec7

Please sign in to comment.