diff --git a/php/elFinderVolumeDriver.class.php b/php/elFinderVolumeDriver.class.php index 16f1b1149a..418e7c7536 100644 --- a/php/elFinderVolumeDriver.class.php +++ b/php/elFinderVolumeDriver.class.php @@ -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