Code

Disabled output compression, if forced
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Mar 2008 13:38:47 +0000 (13:38 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Mar 2008 13:38:47 +0000 (13:38 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9675 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/main.php

index c265d697e50082585bccbccd46d50fa2e63e8514..251196c790aeec09e416d6215a88baf382e0a5b9 100644 (file)
@@ -64,7 +64,7 @@ $config= session::get('config');
 $config->check_and_reload();
 
 /* Enable compressed output */
-if (isset($config->data['MAIN']['COMPRESSED']) && preg_match('/^(true|on)$/i', $config->data['MAIN']['COMPRESSED'])){
+if (isset($config->data['MAIN']['COMPRESSED']) && preg_match('/^(true|on)$/i', $config->data['MAIN']['COMPRESSED']) && !isset($_GET['no_output_compression'])){
   ob_start("ob_gzhandler");
 }