Fixed download URLs for non-cloud files

This commit is contained in:
Albert Santoni 2015-02-26 11:29:08 -05:00
parent 3885abbdb8
commit bfd6ef72b1
3 changed files with 3 additions and 10 deletions

View file

@ -388,7 +388,8 @@ class CcFiles extends BaseCcFiles {
public function getFilename()
{
$info = pathinfo($this->getAbsoluteFilePath());
return $info['filename'];
//filename doesn't contain the extension because PHP is awful
return $info['filename'].".".$info['extension'];
}
/**