Skip to content

Commit

Permalink
Merge pull request #9 from mileszs/master
Browse files Browse the repository at this point in the history
Support latest AWS SDK
  • Loading branch information
Tyler Hall committed Dec 7, 2012
2 parents e65a676 + 898aa9f commit 61faebe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autosmush
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.