From 8cffa86caa12ba71d0a6a4627b93ada221b0cd6d Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Tue, 19 Dec 2023 12:17:03 +1300 Subject: [PATCH] FIX Allow inconclusive mimetypes --- 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