fix syntax error

This commit is contained in:
Uwe Steinmann 2016-02-18 20:34:16 +01:00
parent 199ba46ce8
commit 6b88d116ad

View File

@ -31,7 +31,7 @@ class SeedDMS_Controller_Download extends SeedDMS_Controller_Common {
case "version":
if(!$this->callHook('version')) {
if(file_exists($dms->contentDir . $content->getPath()) {
if(file_exists($dms->contentDir . $content->getPath())) {
header("Content-Transfer-Encoding: binary");
header("Content-Length: " . filesize($dms->contentDir . $content->getPath() ));
$efilename = rawurlencode($content->getOriginalFileName());