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 cd8dff362d
commit cb3100f71f

View file

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