cc-2182: convert back to restful design

-initial commit
This commit is contained in:
martin 2011-05-02 15:33:32 -04:00
parent b3beab1dbd
commit 9e01e389ea
5 changed files with 17 additions and 39 deletions

View file

@ -1513,7 +1513,8 @@ class StoredFile {
public function getFileUrl()
{
global $CC_CONFIG;
return $this->gunid.".".$this->getFileExtension();
return "http://$CC_CONFIG[baseUrl]:$CC_CONFIG[basePort]/".$this->gunid.".".$this->getFileExtension();
//return $CC_CONFIG["base_url"]..$this->gunid.".".$this->getFileExtension();
}
/**