Address changes.
This commit is contained in:
parent
a5949e0401
commit
635b3ddcbc
59 changed files with 7249 additions and 2745 deletions
|
@ -32,6 +32,9 @@ class CDN
|
|||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function uploadFile(string $localPath, string $remotePath, string $mimeType, string $acl = 'private')
|
||||
{
|
||||
try {
|
||||
|
@ -48,6 +51,9 @@ class CDN
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function renameFile(string $oldRemotePath, string $newRemotePath)
|
||||
{
|
||||
// S3 does not support renaming directly. Copy then delete.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue