Skip to content

Commit

Permalink
Applying patch from 'tbhot3ww' to make Dispatcher::asset() more forgi…
Browse files Browse the repository at this point in the history
…ving with whitespace. Fixes #864
  • Loading branch information
markstory committed Jun 29, 2010
1 parent 94965f0 commit 8f25547
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cake/dispatcher.php
Expand Up @@ -647,6 +647,8 @@ function _deliverAsset($assetFile, $ext) {
if ($ext === 'css' || $ext === 'js') {
include($assetFile);
} else {
ob_clean();
flush();
readfile($assetFile);
}

Expand Down

0 comments on commit 8f25547

Please sign in to comment.