Commit a93b10f2 authored by bussnet's avatar bussnet Committed by GitHub

Merge pull request #1 from cuhsat/patch-1

Changed max expire date to 6 days
parents a10a1b34 584065e5
...@@ -122,7 +122,7 @@ class AdapterAmazonS3Ver2 extends AmazonS3 implements GaufretteAdapter, UrlAware ...@@ -122,7 +122,7 @@ class AdapterAmazonS3Ver2 extends AmazonS3 implements GaufretteAdapter, UrlAware
]); ]);
if (empty($validTime)) if (empty($validTime))
$validTime = '+ 1 week'; // max expire time $validTime = '+ 6 days'; // max expire time
elseif (is_numeric($validTime)) elseif (is_numeric($validTime))
$validTime = '+' . $validTime . ' seconds'; $validTime = '+' . $validTime . ' seconds';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment