don't use output buffering for file downloads

This commit is contained in:
Robin Appelman 2011-04-26 14:57:56 +02:00
parent 3d5c13a3e1
commit cb8c890594

View file

@ -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 );
?>