Skip to content

Commit 9ce9b47

Browse files
authored
Merge pull request #1199 from Holywings-ID/patch-agus24-1
set public visibility when uploading file
2 parents 5a53207 + c06c36a commit 9ce9b47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LfmStorageRepository.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function save($file)
3838
$nameint = strripos($this->path, "/");
3939
$nameclean = substr($this->path, $nameint + 1);
4040
$pathclean = substr_replace($this->path, "", $nameint);
41-
$this->disk->putFileAs($pathclean, $file, $nameclean);
41+
$this->disk->putFileAs($pathclean, $file, $nameclean, 'public');
4242
}
4343

4444
public function url($path)

0 commit comments

Comments
 (0)