From c91b3721bc5426a7cc000948df3471a114af2dda Mon Sep 17 00:00:00 2001 From: gwoo Date: Sat, 19 Jan 2008 21:29:11 +0000 Subject: [PATCH] updating dispatcher for gzip handling of assets, fixes #3921 git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6390 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/dispatcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/dispatcher.php b/cake/dispatcher.php index 23b922bac..384272c1d 100644 --- a/cake/dispatcher.php +++ b/cake/dispatcher.php @@ -656,7 +656,7 @@ class Dispatcher extends Object { } if ($isAsset === true) { - $ob = @ini_get("zlib.output_compression") && extension_loaded("zlib") && (strpos(env('HTTP_ACCEPT_ENCODING'), 'gzip') !== false); + $ob = @ini_get("zlib.output_compression") !== true && extension_loaded("zlib") && (strpos(env('HTTP_ACCEPT_ENCODING'), 'gzip') !== false); if ($ob && Configure::read('Asset.compress')) { ob_start();