Skip to content

Commit

Permalink
update: media directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
FarhanShares committed Mar 17, 2021
1 parent ce3e06c commit 109488d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/Media.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function getPath(string $conversion = '')
*/
public function getDirectory()
{
return $this->getKey();
return $this->getKey() . '-' . md5($this->getKey() . config('app.key'));
}

/**
Expand Down

0 comments on commit 109488d

Please sign in to comment.