diff --git a/cake/dispatcher.php b/cake/dispatcher.php index 5fb872c64..f061d1601 100644 --- a/cake/dispatcher.php +++ b/cake/dispatcher.php @@ -636,6 +636,8 @@ class Dispatcher extends Object { if ($ext === 'css' || $ext === 'js') { include($assetFile); } else { + ob_clean(); + flush(); readfile($assetFile); }