Skip to content
Permalink
Browse files

Applying patch from 'tbhot3ww' to make Dispatcher::asset() more forgi…

…ving with whitespace. Fixes #864
  • Loading branch information...
markstory committed Jun 29, 2010
1 parent 94965f0 commit 8f25547fc1b1c350cea1699769f7b4eda4422a7f
Showing with 2 additions and 0 deletions.
  1. +2 −0 cake/dispatcher.php
@@ -647,6 +647,8 @@ function _deliverAsset($assetFile, $ext) {
if ($ext === 'css' || $ext === 'js') {
include($assetFile);
} else {
ob_clean();
flush();
readfile($assetFile);
}

0 comments on commit 8f25547

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