Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* fixing warning reported in #1484851

  • Loading branch information...
commit 03fcc16896fdd31973ad21c67b33da6fe0b6b579 1 parent 34eab04
@till till authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 index.php
View
6 index.php
@@ -103,8 +103,12 @@
if ($_action != 'get' && $_action != 'viewsource')
{
// use gzip compression if supported
- if (function_exists('ob_gzhandler') && !ini_get('zlib.output_compression'))
+ if (function_exists('ob_gzhandler')
+ && !ini_get('zlib.output_compression')
+ && ini_get('output_handler') != 'ob_gzhandler')
+ {
ob_start('ob_gzhandler');
+ }
else
ob_start();
}
Please sign in to comment.
Something went wrong with that request. Please try again.