aboutsummaryrefslogtreecommitdiffstats
path: root/files/get_file.php
diff options
context:
space:
mode:
Diffstat (limited to 'files/get_file.php')
-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);