Skip to content

Commit

Permalink
Media on the fly wip
Browse files Browse the repository at this point in the history
  • Loading branch information
JimCronqvist committed Nov 10, 2020
1 parent b779cef commit 55e4f13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/MediaLibrary/MediaOnTheFly.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ protected function ensureCacheDirExists()
protected function perform()
{
$cacheDir = $this->getCacheDir();
$localOriginalFile = $this->media->getPath() . $this->media->file_name;
$localOriginalFile = $this->media->getPath();

if(!$this->isDiskDriverLocal()) {
$localOriginalFile = $cacheDir . $this->media->uuid . '.' . strtolower($this->media->getExtensionAttribute());
Expand Down

0 comments on commit 55e4f13

Please sign in to comment.