summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwei <>2006-02-02 07:20:25 +0000
committerwei <>2006-02-02 07:20:25 +0000
commit8bd494af7897077dea5da4b8e4c89025a2bc5fa8 (patch)
tree01282f41f0e1b06db1c263f15611c06713797fb3
parent4422f22094e6cfc8c34e391ab0ec7a3328cbf4cf (diff)
Fixed #16
-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