mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 16:35:38 +00:00
fix syntax error
This commit is contained in:
parent
199ba46ce8
commit
6b88d116ad
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue
Block a user