cc-2182: Convert back to restful design
-done
This commit is contained in:
parent
9e01e389ea
commit
8e2019a935
10 changed files with 9 additions and 8 deletions
|
@ -1513,8 +1513,7 @@ class StoredFile {
|
|||
public function getFileUrl()
|
||||
{
|
||||
global $CC_CONFIG;
|
||||
return "http://$CC_CONFIG[baseUrl]:$CC_CONFIG[basePort]/".$this->gunid.".".$this->getFileExtension();
|
||||
//return $CC_CONFIG["base_url"]..$this->gunid.".".$this->getFileExtension();
|
||||
return "http://$CC_CONFIG[baseUrl]:$CC_CONFIG[basePort]/api/get-media/file/".$this->gunid.".".$this->getFileExtension();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue