Fixed download URLs for non-cloud files
This commit is contained in:
parent
3885abbdb8
commit
bfd6ef72b1
3 changed files with 3 additions and 10 deletions
|
@ -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'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue