diff --git a/index.php b/index.php index c7548ad77fb84d07d70f66232b9c7aed8a1e41a7..92b2a84159c5bed90f48e57b534e11b9c00de299 100644 --- a/index.php +++ b/index.php @@ -202,6 +202,3 @@ $ts = strtotime($datetime); ?> </body> </html> -<?php -if ($gzip_rate > 0) ob_end_flush(); -?> diff --git a/lib/functions.lib.php b/lib/functions.lib.php index e11d2be8d27f847e0a6704400c63fc698dd2301f..20aaf7146bb59ceae56964f0e9d626cdae179713 100644 --- a/lib/functions.lib.php +++ b/lib/functions.lib.php @@ -1,8 +1,5 @@ <?php -// Komprimierung der Ausgabe zwischen 0 & 10 wobei 0 die Komprimierung der Ausgabe deaktiviert Empfohlener Wert: 1 - $gzip_rate = 0; - /** * create_code() * @@ -170,13 +167,6 @@ function bilanz ($ein,$aus,$gruppe,$name) { } -// GZip -if ($gzip_rate > 0) { - ini_set('zlib.output_compression_level', $gzip_rate); - if (ereg("gzip", getenv("HTTP_ACCEPT_ENCODING"))) ob_start("ob_gzhandler"); - else ob_start(); -} - // Datum im Facebook Stil function niceDate($timestamp) {