From 8bd494af7897077dea5da4b8e4c89025a2bc5fa8 Mon Sep 17 00:00:00 2001 From: wei <> Date: Thu, 2 Feb 2006 07:20:25 +0000 Subject: Fixed #16 --- framework/Web/Javascripts/js/clientscripts.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'framework/Web/Javascripts/js/clientscripts.php') 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 -- cgit v1.2.3