bulding the file pathname from the getFilename method

parent bdf1e884
...@@ -58,7 +58,7 @@ class Imagy ...@@ -58,7 +58,7 @@ class Imagy
return; return;
} }
$filename = config('asgard.media.config.files-path') . $this->newFilename($path, $thumbnail); $filename = $this->getFilenameFor($path, $thumbnail);
if ($this->returnCreatedFile($filename, $forceCreate)) { if ($this->returnCreatedFile($filename, $forceCreate)) {
return $filename; return $filename;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment