CC-5885: Factor out cloud storage code into separate class
This commit is contained in:
parent
e7dfc08128
commit
039a51121b
7 changed files with 67 additions and 60 deletions
|
@ -573,7 +573,7 @@ SQL;
|
|||
public function getCloudUrl()
|
||||
{
|
||||
$CC_CONFIG = Config::getConfig();
|
||||
return $CC_CONFIG["s3"]["host"]."/".$CC_CONFIG["s3"]["bucket"]."/" . urlencode($this->getResourceId());
|
||||
return $CC_CONFIG["cloud_storage"]["host"]."/".$CC_CONFIG["cloud_storage"]["bucket"]."/" . urlencode($this->getResourceId());
|
||||
}
|
||||
|
||||
public function getResourceId()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue