Fix on speakers pics urls
Change-Id: Ic68174b8b9d7f3edfa206bc75aee7cef12a611bc
This commit is contained in:
parent
dfb9c528fa
commit
7a57ac262b
@ -54,6 +54,7 @@ class Kernel extends ConsoleKernel
|
|||||||
23, //Sydney
|
23, //Sydney
|
||||||
24, //Vancouver BC
|
24, //Vancouver BC
|
||||||
25, //Berlin
|
25, //Berlin
|
||||||
|
26, //Denver
|
||||||
];
|
];
|
||||||
|
|
||||||
foreach ($summit_ids as $summit_id)
|
foreach ($summit_ids as $summit_id)
|
||||||
|
@ -276,7 +276,7 @@ class File extends SilverstripeBaseModel
|
|||||||
public function getCloudLink()
|
public function getCloudLink()
|
||||||
{
|
{
|
||||||
return
|
return
|
||||||
sprintf("%s/%s/%s",
|
sprintf("%s/%s%s",
|
||||||
Config::get("cloudstorage.base_url") ,
|
Config::get("cloudstorage.base_url") ,
|
||||||
Config::get("cloudstorage.assets_container"),
|
Config::get("cloudstorage.assets_container"),
|
||||||
$this->getRelativeLinkFor());
|
$this->getRelativeLinkFor());
|
||||||
@ -288,7 +288,7 @@ class File extends SilverstripeBaseModel
|
|||||||
*/
|
*/
|
||||||
public static function getCloudLinkForImages(string $imageRelativePath):string {
|
public static function getCloudLinkForImages(string $imageRelativePath):string {
|
||||||
return
|
return
|
||||||
sprintf("%s/%s/%s",
|
sprintf("%s/%s%s",
|
||||||
Config::get("cloudstorage.base_url") ,
|
Config::get("cloudstorage.base_url") ,
|
||||||
Config::get("cloudstorage.images_container"),
|
Config::get("cloudstorage.images_container"),
|
||||||
$imageRelativePath
|
$imageRelativePath
|
||||||
|
Loading…
x
Reference in New Issue
Block a user