don't use output buffering for file downloads

remotes/origin/stable
Robin Appelman 14 years ago
parent 3d5c13a3e1
commit cb8c890594
  1. 1
      files/download.php

@ -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…
Cancel
Save