Skip to content

Commit

Permalink
FIX Allow inconclusive mimetypes (#582)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Dec 19, 2023
1 parent 8f8df1b commit 6e3fd80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Flysystem/LocalFilesystemAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e3fd80

Please sign in to comment.