This commit is contained in:
Uwe Steinmann 2022-02-25 19:14:54 +01:00
parent 3ad44fac0b
commit 8052b76165

View File

@ -58,6 +58,7 @@ class SeedDMS_Controller_Download extends SeedDMS_Controller_Common {
header("Content-Disposition: attachment; filename=\"" . $efilename . "\"; filename*=UTF-8''".$efilename);
header("Content-Type: " . $content->getMimeType());
header("Cache-Control: must-revalidate");
header("ETag: ".$content->getChecksum());
sendFile($dms->contentDir.$content->getPath());
}