mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
changing include to readfile, fixes #5033
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7354 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
c1dce9e7ff
commit
d6d7bd68bd
1 changed files with 1 additions and 1 deletions
|
@ -674,7 +674,7 @@ class Dispatcher extends Object {
|
|||
header("Expires: " . gmdate("D, j M Y H:i:s", time() + DAY) . " GMT");
|
||||
header("Cache-Control: cache");
|
||||
header("Pragma: cache");
|
||||
include ($assetFile);
|
||||
readfile($assetFile);
|
||||
|
||||
if(Configure::read('Asset.compress')) {
|
||||
header("Content-length: " . ob_get_length());
|
||||
|
|
Loading…
Add table
Reference in a new issue