mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
src build elFinder-2.1-5491ce4
This commit is contained in:
@@ -3372,10 +3372,8 @@ abstract class elFinderVolumeDriver {
|
||||
// load default MIME table file "mime.types"
|
||||
if (!elFinderVolumeDriver::$mimetypesLoaded) {
|
||||
elFinderVolumeDriver::$mimetypesLoaded = true;
|
||||
if (elFinder::$defaultMimefile) {
|
||||
$file = elFinder::$defaultMimefile;
|
||||
}
|
||||
if (! is_readable($file)) {
|
||||
$file = elFinder::$defaultMimefile;
|
||||
if ($file === '' || ! is_readable($file)) {
|
||||
$file = dirname(__FILE__).DIRECTORY_SEPARATOR.'mime.types';
|
||||
}
|
||||
if (is_readable($file)) {
|
||||
|
||||
Reference in New Issue
Block a user