Skip to content
Permalink
Browse files

Remove check for non existent config.

  • Loading branch information...
ADmad committed Sep 18, 2014
1 parent 4bff89e commit 2e9f3098c6b129f30af3da82512c089af31d6f42
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Routing/Filter/AssetFilter.php
@@ -105,7 +105,7 @@ protected function _getAssetFile($url) {
*/
protected function _deliverAsset(Request $request, Response $response, $assetFile, $ext) {
ob_start();
$compressionEnabled = Configure::read('Asset.compress') && $response->compress();
$compressionEnabled = $response->compress();
if ($response->type($ext) === $ext) {
$contentType = 'application/octet-stream';
$agent = $request->env('HTTP_USER_AGENT');

0 comments on commit 2e9f309

Please sign in to comment.
You can’t perform that action at this time.