From 6e3fd806ca4a95b4df3f33cd7c5963b8ed842b04 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Tue, 19 Dec 2023 18:08:39 +1300 Subject: [PATCH] FIX Allow inconclusive mimetypes (#582) --- src/Flysystem/LocalFilesystemAdapter.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Flysystem/LocalFilesystemAdapter.php b/src/Flysystem/LocalFilesystemAdapter.php index bd41de63..098b64ba 100644 --- a/src/Flysystem/LocalFilesystemAdapter.php +++ b/src/Flysystem/LocalFilesystemAdapter.php @@ -19,7 +19,8 @@ public function __construct( MimeTypeDetector $mimeTypeDetector = null ) { $this->pathPrefixer = new PathPrefixer($location); - parent::__construct($location, $visibility, $writeFlags, $linkHandling, $mimeTypeDetector); + + parent::__construct($location, $visibility, $writeFlags, $linkHandling, $mimeTypeDetector, false, true); } public function prefixPath(string $path): string