mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Applying patch from 'ruben' updates Date header to comply with RFC 822 and RFC 1123. Fixes #6102
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8035 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
55cc02bc08
commit
03ca513f48
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ if (!class_exists('File')) {
|
|||
|
||||
header("Date: " . date("D, j M Y G:i:s ", $templateModified) . 'GMT');
|
||||
header("Content-Type: text/css");
|
||||
header("Expires: " . gmdate("D, j M Y H:i:s", time() + DAY) . " GMT");
|
||||
header("Expires: " . gmdate("D, d M Y H:i:s", time() + DAY) . " GMT");
|
||||
header("Cache-Control: max-age=86400, must-revalidate"); // HTTP/1.1
|
||||
header("Pragma: cache"); // HTTP/1.0
|
||||
print $output;
|
||||
|
|
Loading…
Reference in a new issue