fix file download missing extension

pull/217/head
Christophe Vandeplas 2013-06-11 14:52:54 +02:00
parent 5e3976b7bc
commit 45cfafca98
1 changed files with 2 additions and 2 deletions

View File

@ -265,7 +265,7 @@ class AttributesController extends AppController {
$this->viewClass = 'Media'; $this->viewClass = 'Media';
$params = array( $params = array(
'id' => $file, 'id' => $file,
'name' => $filename, 'name' => $filename.".".$fileExt,
'extension' => $fileExt, 'extension' => $fileExt,
'download' => true, 'download' => true,
'path' => $path 'path' => $path