mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Applying patch from 'tbhot3ww' to make Dispatcher::asset() more forgiving with whitespace. Fixes #864
This commit is contained in:
parent
cd8dff362d
commit
cb3100f71f
1 changed files with 2 additions and 0 deletions
|
@ -636,6 +636,8 @@ class Dispatcher extends Object {
|
|||
if ($ext === 'css' || $ext === 'js') {
|
||||
include($assetFile);
|
||||
} else {
|
||||
ob_clean();
|
||||
flush();
|
||||
readfile($assetFile);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue