mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
Merge branch 'seeddms-5.0.x' into develop
This commit is contained in:
commit
bd7868cfc7
|
@ -31,7 +31,7 @@ class SeedDMS_Controller_Download extends SeedDMS_Controller_Common {
|
|||
$content = $this->params['content'];
|
||||
|
||||
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