summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/Javascripts/js/clientscripts.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/js/clientscripts.php b/framework/Web/Javascripts/js/clientscripts.php
index bc5d10f9..cbf0c9fa 100644
--- a/framework/Web/Javascripts/js/clientscripts.php
+++ b/framework/Web/Javascripts/js/clientscripts.php
@@ -28,7 +28,8 @@ else
// Check for gzip header or northon internet securities
if ((in_array('gzip', $encodings) || isset($_SERVER['---------------']))
- && function_exists('ob_gzhandler') && !ini_get('zlib.output_compression'))
+ && function_exists('ob_gzhandler') && !ini_get('zlib.output_compression')
+ && ini_get('output_handler') != 'ob_gzhandler')
ob_start("ob_gzhandler");
// Output rest of headers