don't use output buffering for file downloads
This commit is contained in:
parent
3d5c13a3e1
commit
cb8c890594
1 changed files with 1 additions and 0 deletions
|
@ -49,5 +49,6 @@ header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
|
|||
header('Pragma: public');
|
||||
header('Content-Length: '.OC_FILESYSTEM::filesize($filename));
|
||||
|
||||
ob_end_clean();
|
||||
OC_FILESYSTEM::readfile( $filename );
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue