Applying patch from 'tbhot3ww' to make Dispatcher::asset() more forgiving with whitespace. Fixes #864

This commit is contained in:
mark_story 2010-06-28 22:34:47 -04:00
parent 94965f0f6c
commit 8f25547fc1

View file

@ -647,6 +647,8 @@ class Dispatcher extends Object {
if ($ext === 'css' || $ext === 'js') {
include($assetFile);
} else {
ob_clean();
flush();
readfile($assetFile);
}