coding style
This commit is contained in:
parent
4a75c539ed
commit
64a8a0c872
|
@ -34,8 +34,8 @@ abstract class OC_Minimizer {
|
||||||
// This results in broken core.css and core.js. To avoid it, we switch off zlib compression.
|
// 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.
|
// 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')) {
|
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()) {
|
if ($encoding = OC_Request::acceptGZip()) {
|
||||||
header('Content-Encoding: '.$encoding);
|
header('Content-Encoding: '.$encoding);
|
||||||
$out = $gzout;
|
$out = $gzout;
|
||||||
|
|
Loading…
Reference in New Issue