Browse Source

return default mimetype for unknown extensions

pull/6482/head
fabrixxm 2 years ago
committed by Hypolite Petovan
parent
commit
c3c0332536
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/Util/Mimetype.php

+ 1
- 2
src/Util/Mimetype.php View File

@ -1077,8 +1077,7 @@ class Mimetype
if (array_key_exists($ext, $mime_types)) {
return $mime_types[$ext];
}
} else {
return 'application/octet-stream';
}
return 'application/octet-stream';
}
}

Loading…
Cancel
Save