mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
fix wrong header line
This commit is contained in:
parent
abed5d1023
commit
d647d27692
|
@ -77,7 +77,7 @@ if(isset($_GET["version"])) {
|
|||
if (isset($settings->_viewOnlineFileTypes) && is_array($settings->_viewOnlineFileTypes) && in_array(strtolower($file->getFileType()), $settings->_viewOnlineFileTypes)) {
|
||||
header("Content-Type: " . $file->getMimeType());
|
||||
}
|
||||
header("Content-Disposition: filename=\"" . $file->getOriginalFileName()) . "\"";
|
||||
header("Content-Disposition: filename=\"" . $file->getOriginalFileName() . "\"");
|
||||
header("Content-Length: " . filesize($dms->contentDir . $file->getPath() ));
|
||||
header("Expires: 0");
|
||||
header("Cache-Control: no-cache, must-revalidate");
|
||||
|
|
Loading…
Reference in New Issue
Block a user