Fixed Amazon S3 Proxy class bug

This commit is contained in:
drigato 2015-01-26 16:06:32 -05:00
parent 458eee4faf
commit 44ff8f830f
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ class Amazon_S3StorageBackend extends StorageBackend
private $s3Client;
public function Amazon_S3($securityCredentials)
public function Amazon_S3StorageBackend($securityCredentials)
{
$this->setBucket($securityCredentials['bucket']);
$this->setAccessKey($securityCredentials['api_key']);

View File

@ -25,7 +25,7 @@ class ProxyStorageBackend extends StorageBackend
//the name of the class that implements it (eg. Amazon_S3), so we
//can easily create the right backend object dynamically:
if ($storageBackend == "amazon_S3") {
$this->storageBackend = new Amazon_S3StorageBackend($CC_CONFIG["Amazon_S3"]);
$this->storageBackend = new Amazon_S3StorageBackend($CC_CONFIG["amazon_S3"]);
} else if ($storageBackend == "file") {
$this->storageBackend = new FileStorageBackend();
} else {