summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorRobin <robin@Amaya.(none)>2010-03-28 19:08:18 +0200
committerRobin <robin@Amaya.(none)>2010-03-28 19:08:18 +0200
commit6822185c5bc33abe892bb9db904a96fbaa916f2c (patch)
tree6e5dc3ddc852c427eaa274b256b77c0939d79588 /files
parentf16f1e508f1d12164c4c25d9af110c8350a548fd (diff)
downloadnextcloud-server-6822185c5bc33abe892bb9db904a96fbaa916f2c.tar.gz
nextcloud-server-6822185c5bc33abe892bb9db904a96fbaa916f2c.zip
added option to delete multiply files and fixed a bug when downloading large files
Diffstat (limited to 'files')
-rw-r--r--files/get_file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/get_file.php b/files/get_file.php
index 4ad5bc9dc5b..72fc8938063 100644
--- a/files/get_file.php
+++ b/files/get_file.php
@@ -100,7 +100,7 @@ header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Pragma: public');
header('Content-Length: ' . filesize($filename));
-ob_clean();
+ob_end_clean();
readfile($filename);
if($zip){
unlink($filename);