Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
agus24 committed Jun 5, 2023
1 parent c31fe60 commit c06c36a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LfmStorageRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,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);
$this->disk->putFileAs($pathclean, $file, $nameclean, 'public');
}

public function url($path)
Expand Down

0 comments on commit c06c36a

Please sign in to comment.