From 7e4746b81caba5944fb37586da1212a98585b845 Mon Sep 17 00:00:00 2001 From: jonstavis Date: Mon, 2 May 2016 22:12:17 -0400 Subject: [PATCH 1/2] Update s3 default configuration to outline the new url expiration property --- src/config/s3.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/config/s3.php b/src/config/s3.php index a565027..03cf9f3 100644 --- a/src/config/s3.php +++ b/src/config/s3.php @@ -50,4 +50,20 @@ 'path' => ':attachment/:id/:style/:filename', + /* + |-------------------------------------------------------------------------- + | S3 Object Expiration + |-------------------------------------------------------------------------- + | + | An expiration string that will be used as default for all S3 objects + | This parameter is passed to the Aws\S3\S3Client::getObjectUrl() when + | retrieving a file from S3. + | AWS Documentation for Aws\S3\S3Client::getObjectURL() at + | http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.S3.S3Client.html#_getObjectUrl + | This is usually used in conjunction with a 'private' ACL object config + | + */ + + 's3_object_url_expires' => null + ]; From 4d9990af73d708a02f70512b5e8eba408c265378 Mon Sep 17 00:00:00 2001 From: jonstavis Date: Mon, 2 May 2016 22:19:35 -0400 Subject: [PATCH 2/2] Add a trailing comma --- src/config/s3.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/s3.php b/src/config/s3.php index 03cf9f3..e8168a9 100644 --- a/src/config/s3.php +++ b/src/config/s3.php @@ -64,6 +64,6 @@ | */ - 's3_object_url_expires' => null + 's3_object_url_expires' => null, ];