Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #9 from mileszs/master

Support latest AWS SDK
  • Loading branch information...
commit 61faebe72cfac836c1fe5ea085daf7d5816f9c5b 2 parents e65a676 + 898aa9f
@tylerhall authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 autosmush
View
4 autosmush
@@ -64,7 +64,7 @@
$total_uncompressed_bytes = 0;
// Get the bucket's contents...
- $s3 = new AmazonS3(AWS_S3_KEY, AWS_S3_SECRET);
+ $s3 = new AmazonS3(array('key' => AWS_S3_KEY, 'secret' => AWS_S3_SECRET));
$options = array('prefix' => $bucket_path);
// Check bucket's headers
@@ -187,4 +187,4 @@
array_shift($unit);
}
return round($val, $round) . array_shift($unit) . 'B';
- }
+ }
Please sign in to comment.
Something went wrong with that request. Please try again.