mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 19:01:04 +01:00
switching off zlib.output_compression for zip archives, as the double compression makes problems eg. with lighttpd
This commit is contained in:
parent
8e5de9e041
commit
4f4f58b159
@ -988,6 +988,11 @@ class HTTP_WebDAV_Server
|
||||
if (!isset($options['mimetype'])) {
|
||||
$options['mimetype'] = "application/octet-stream";
|
||||
}
|
||||
// switching off zlib.output_compression for zip archives, as the double compression makes problems eg. with lighttpd
|
||||
if ($options['mimetype'] == 'application/zip')
|
||||
{
|
||||
ini_set('zlib.output_compression',0);
|
||||
}
|
||||
header("Content-type: $options[mimetype]");
|
||||
|
||||
if (isset($options['mtime'])) {
|
||||
|
Loading…
Reference in New Issue
Block a user