rolling back the ob_gzhandler 'fix' because ob_get_status is php >4.1

git-svn-id: http://svn.automattic.com/wordpress/trunk@1426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
michelvaldrighi 2004-06-14 23:16:03 +00:00
parent 657d4982ba
commit b806731280

View File

@ -432,12 +432,9 @@ function gzip_compression() {
if ( !get_settings('gzipcompression') ) return false;
if( extension_loaded('zlib') ) {
$ob_status = ob_get_status();
if (empty($ob_status) || $ob_status['name'] != 'ob_gzhandler') {
ob_start('ob_gzhandler');
}
}
}
// functions to count the page generation time (from phpBB2)