diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2012-11-14 12:59:36 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2012-11-15 10:35:44 +0100 |
commit | 64a8a0c872f2dfa2f6c3ca4b0c26d11d3857e3a3 (patch) | |
tree | 3c9ef7b86d83bc8fb0be69c96630e0b9e8124249 | |
parent | 4a75c539ed1786dbde1e79f547fbbb82942dcd00 (diff) | |
download | nextcloud-server-64a8a0c872f2dfa2f6c3ca4b0c26d11d3857e3a3.tar.gz nextcloud-server-64a8a0c872f2dfa2f6c3ca4b0c26d11d3857e3a3.zip |
coding style
-rw-r--r-- | lib/minimizer.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/minimizer.php b/lib/minimizer.php index db0c56f0f43..8a957e8266a 100644 --- a/lib/minimizer.php +++ b/lib/minimizer.php @@ -30,12 +30,12 @@ abstract class OC_Minimizer { $cache->set($cache_key.'.gz', $gzout); OC_Response::setETagHeader($etag); } - // on some systems (e.g. SLES 11, but not Ubuntu) mod_deflate and zlib compression will compress the output twice. + // on some systems (e.g. SLES 11, but not Ubuntu) mod_deflate and zlib compression will compress the output twice. // This results in broken core.css and core.js. To avoid it, we switch off zlib compression. // Since mod_deflate is still active, Apache will compress what needs to be compressed, i.e. no disadvantage. if(function_exists('apache_setenv') && ini_get('zlib.output_compression')) { - ini_set('zlib.output_compression', 'Off'); - } + ini_set('zlib.output_compression', 'Off'); + } if ($encoding = OC_Request::acceptGZip()) { header('Content-Encoding: '.$encoding); $out = $gzout; |