Permalink
Browse files

Merge pull request #9 from mileszs/master

Support latest AWS SDK
  • Loading branch information...
2 parents e65a676 + 898aa9f commit 61faebe72cfac836c1fe5ea085daf7d5816f9c5b @tylerhall committed Dec 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 autosmush
View
@@ -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';
- }
+ }

0 comments on commit 61faebe

Please sign in to comment.