Ticket #4342: 4342.r6563.diff
File 4342.r6563.diff, 505 bytes (added by , 17 years ago) |
---|
-
functions.php
404 404 function gzip_compression() { 405 405 if ( !get_option( 'gzipcompression' ) || ini_get( 'zlib.output_compression' ) == 'On' || ini_get( 'zlib.output_compression_level' ) > 0 || ini_get( 'output_handler' ) == 'ob_gzhandler' || !extension_loaded( 'zlib' ) ) 406 406 return false; 407 ob_clean_flush(); 407 408 ob_start( 'ob_gzhandler' ); 408 409 } 409 410