From 44ff8f830f128680f3ffe0754987e4ab368691a0 Mon Sep 17 00:00:00 2001 From: drigato Date: Mon, 26 Jan 2015 16:06:32 -0500 Subject: [PATCH] Fixed Amazon S3 Proxy class bug --- .../application/cloud_storage/Amazon_S3StorageBackend.php | 2 +- airtime_mvc/application/cloud_storage/ProxyStorageBackend.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/airtime_mvc/application/cloud_storage/Amazon_S3StorageBackend.php b/airtime_mvc/application/cloud_storage/Amazon_S3StorageBackend.php index 8565e4767..b878a4263 100644 --- a/airtime_mvc/application/cloud_storage/Amazon_S3StorageBackend.php +++ b/airtime_mvc/application/cloud_storage/Amazon_S3StorageBackend.php @@ -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']); diff --git a/airtime_mvc/application/cloud_storage/ProxyStorageBackend.php b/airtime_mvc/application/cloud_storage/ProxyStorageBackend.php index 7843f9868..29f8a9caa 100644 --- a/airtime_mvc/application/cloud_storage/ProxyStorageBackend.php +++ b/airtime_mvc/application/cloud_storage/ProxyStorageBackend.php @@ -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 {