Fix memory allocation
This commit is contained in:
parent
7a18467734
commit
9c78c90d76
|
@ -104,7 +104,8 @@ class S3Storage implements StorageAdaptor
|
||||||
'Bucket' => $this->bucket,
|
'Bucket' => $this->bucket,
|
||||||
'Path' => $this->getPrefix().$target_path,
|
'Path' => $this->getPrefix().$target_path,
|
||||||
'Key' => $this->getPrefix().$target_path,
|
'Key' => $this->getPrefix().$target_path,
|
||||||
'Body' => file_get_contents($source_path),
|
'SourceFile' => $source_path, // Fix memory allocation
|
||||||
|
//'Body' => file_get_contents($source_path),
|
||||||
'ACL' => $permissions
|
'ACL' => $permissions
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue