Skip to content

Commit 3991cb8

Browse files
Don't set public visibility for uploading
Don't set public visibility if the storage doesn't support it
1 parent a2c390b commit 3991cb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LfmStorageRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function save($file)
4545
$nameint = strripos($this->path, "/");
4646
$nameclean = substr($this->path, $nameint + 1);
4747
$pathclean = substr_replace($this->path, "", $nameint);
48-
$this->disk->putFileAs($pathclean, $file, $nameclean, 'public');
48+
$this->disk->putFileAs($pathclean, $file, $nameclean);
4949
}
5050

5151
public function url($path)

0 commit comments

Comments
 (0)