includes/functions.php
changeset 1226 de56132c008d
parent 1223 7dca925b0209
child 1227 bdac73ed481e
equal deleted inserted replaced
1225:4c6da61e613e 1226:de56132c008d
  3213   
  3213   
  3214   //
  3214   //
  3215   // Compress buffered output if required and send to browser
  3215   // Compress buffered output if required and send to browser
  3216   // Sorry, doesn't work in IE. What else is new?
  3216   // Sorry, doesn't work in IE. What else is new?
  3217   //
  3217   //
  3218   if ( $do_gzip && function_exists('gzdeflate') && !strstr($_SERVER['HTTP_USER_AGENT'], 'MSIE') && !headers_sent() && $gzip_supported )
  3218   if ( $do_gzip && getConfig('gzip_output', false) == 1 && function_exists('gzdeflate') && !strstr($_SERVER['HTTP_USER_AGENT'], 'MSIE') && !headers_sent() && $gzip_supported )
  3219   {
  3219   {
  3220     $gzip_contents = ob_get_contents();
  3220     $gzip_contents = ob_get_contents();
  3221     ob_end_clean();
  3221     ob_end_clean();
  3222     
  3222     
  3223     global $php_errors;
  3223     global $php_errors;