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:
AD7six 2008-10-24 08:03:36 +00:00
parent a04af731ab
commit d8ad330bca

View file

@ -168,7 +168,7 @@ class MediaView extends View {
} }
header('Cache-Control: max-age=' . $cache); header('Cache-Control: max-age=' . $cache);
header('Expires: ' . gmdate('D, d M Y H:i:s', time() + $cache) . ' GMT'); header('Expires: ' . gmdate('D, d M Y H:i:s', time() + $cache) . ' GMT');
header('Pragma: ' . cache); header('Pragma: cache');
} else { } else {
header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Pragma: no-cache'); header('Pragma: no-cache');