diff options
-rw-r--r-- | lib/files.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/files.php b/lib/files.php index 5d4d73630eb..b405cf1749f 100644 --- a/lib/files.php +++ b/lib/files.php @@ -102,6 +102,7 @@ class OC_Files { header('Content-Transfer-Encoding: binary'); OC_Response::disableCaching(); if($zip){ + ini_set('zlib.output_compression', 'off'); header('Content-Type: application/zip'); header('Content-Length: ' . filesize($filename)); }else{ |