2amigos/yii-aws — pull request #24 by tonydspaniard (2013-05-31 12:00:39+00:00)
Title: Added option to pass custom configuration

From now on, you can pass custom configurations like this:

```
$s3 = new A2S3(array(
'key' => '{YOUR-AWS-KEY}',
'secret' => '{YOUR-AWS-SECRET}',
'region' => 'us-east-1'
));

try
{
return $s3->getClient()->deleteObject(array(
'Bucket' => $bucket,
'Key' => $image->filename
));
} catch (Aws\S3\Exception\S3Exception $e)
{
throw $e;
return false;
}
```

Fixes #23