mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
correcting quotes which cause "undefined constant cache assumed 'cache'.." error
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7779 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
a04af731ab
commit
d8ad330bca
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ class MediaView extends View {
|
|||
}
|
||||
header('Cache-Control: max-age=' . $cache);
|
||||
header('Expires: ' . gmdate('D, d M Y H:i:s', time() + $cache) . ' GMT');
|
||||
header('Pragma: ' . cache);
|
||||
header('Pragma: cache');
|
||||
} else {
|
||||
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
|
||||
header('Pragma: no-cache');
|
||||
|
|
Loading…
Reference in a new issue