Some big update
This commit is contained in:
@@ -115,7 +115,8 @@ class EspoUploadDir implements Storage, Local
|
||||
protected function getFilePath(Attachment $attachment)
|
||||
{
|
||||
$sourceId = $attachment->getSourceId();
|
||||
$file = basename($sourceId);
|
||||
|
||||
return 'data/upload/' . $sourceId;
|
||||
return 'data/upload/' . $file;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user