equal
deleted
inserted
replaced
2737 if ( $do_gzip && function_exists('ob_gzhandler') ) |
2737 if ( $do_gzip && function_exists('ob_gzhandler') ) |
2738 { |
2738 { |
2739 $gzip_contents = ob_get_contents(); |
2739 $gzip_contents = ob_get_contents(); |
2740 ob_end_clean(); |
2740 ob_end_clean(); |
2741 |
2741 |
2742 $return = ob_gzhandler($gzip_contents); |
2742 $return = @ob_gzhandler($gzip_contents); |
2743 if ( $return ) |
2743 if ( $return ) |
2744 { |
2744 { |
2745 header('Content-encoding: gzip'); |
2745 header('Content-encoding: gzip'); |
2746 echo $gzip_contents; |
2746 echo $gzip_contents; |
2747 } |
2747 } |