From 3138b5c7607b434fa9b1b8c563ad461985d5b5c8 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 19 May 2006 23:27:51 +0200 Subject: moved gzip compression to init.php darcs-hash:20060519212751-7ad00-ace54b61706fdf4f1b7c2abdbabee215a1e256ab.gz --- inc/template.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'inc/template.php') diff --git a/inc/template.php b/inc/template.php index 7a7e751a9..e79b312db 100644 --- a/inc/template.php +++ b/inc/template.php @@ -19,10 +19,6 @@ function template($tpl){ global $conf; - if ($conf['gzip_output'] && extension_loaded('zlib') && preg_match('/gzip|deflate/', $_SERVER['HTTP_ACCEPT_ENCODING'])) { - ob_start('ob_gzhandler'); - } - if(@is_readable(DOKU_INC.'lib/tpl/'.$conf['template'].'/'.$tpl)) return DOKU_INC.'lib/tpl/'.$conf['template'].'/'.$tpl; -- cgit v1.2.3