CC-2128: storageUrlPort in application/configs/conf.php not being used

-fixed
This commit is contained in:
martin 2011-03-29 14:44:51 -04:00
parent d66bcea044
commit b73e58551f
2 changed files with 2 additions and 38 deletions

View file

@ -1481,7 +1481,8 @@ class StoredFile {
public function getFileUrl()
{
global $CC_CONFIG;
return "http://".$CC_CONFIG["storageUrlHost"]
return "http://$CC_CONFIG[storageUrlHost]"
.":$CC_CONFIG[storageUrlPort]"
.$CC_CONFIG["apiPath"]."get-media/file/"
.$this->gunid.".".$this->getFileExtension();
}