Skip to content

Commit

Permalink
Merge pull request #982 from abishekrsrikaanth/master
Browse files Browse the repository at this point in the history
Don't set public visibility when uploading files.
  • Loading branch information
streamtw committed Sep 11, 2020
2 parents a2c390b + 3991cb8 commit 89e2091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LfmStorageRepository.php
Expand Up @@ -45,7 +45,7 @@ public function save($file)
$nameint = strripos($this->path, "/");
$nameclean = substr($this->path, $nameint + 1);
$pathclean = substr_replace($this->path, "", $nameint);
$this->disk->putFileAs($pathclean, $file, $nameclean, 'public');
$this->disk->putFileAs($pathclean, $file, $nameclean);
}

public function url($path)
Expand Down

0 comments on commit 89e2091

Please sign in to comment.