Merge branch 'cc-5709-airtime-analyzer-cloud-storage' of github.com:sourcefabric/Airtime into cc-5709-airtime-analyzer-cloud-storage

This commit is contained in:
drigato 2014-12-16 18:47:55 -05:00
commit 6e2f07f875
1 changed files with 4 additions and 1 deletions

View File

@ -20,6 +20,9 @@ class ProxyStorageBackend extends StorageBackend
{ {
$CC_CONFIG = Config::getConfig(); $CC_CONFIG = Config::getConfig();
//The storage backend in the airtime.conf directly corresponds to
//the name of the class that implements it (eg. Amazon_S3), so we
//can easily create the right backend object dynamically:
$this->storageBackend = new $storageBackend($CC_CONFIG[$storageBackend]); $this->storageBackend = new $storageBackend($CC_CONFIG[$storageBackend]);
} }