Added false for the optional replace parameter of the header for Cache-Control.. This might actually fix some issues with gzip compression and win98/IIS...

git-svn-id: file:///svn/phpbb/trunk@2217 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
the_systech 2002-02-26 16:35:02 +00:00
parent c60dba1a04
commit 10ef4498dc
2 changed files with 4 additions and 4 deletions

View file

@ -160,11 +160,11 @@ $template->assign_vars(array(
); );
header ("Cache-Control: no-store, no-cache, must-revalidate"); header ("Cache-Control: no-store, no-cache, must-revalidate");
header ("Cache-Control: pre-check=0, post-check=0, max-age=0"); header ("Cache-Control: pre-check=0, post-check=0, max-age=0", false);
header ("Pragma: no-cache"); header ("Pragma: no-cache");
header ("Expires: " . gmdate("D, d M Y H:i:s", time()) . " GMT"); header ("Expires: " . gmdate("D, d M Y H:i:s", time()) . " GMT");
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
$template->pparse("header"); $template->pparse("header");
?> ?>

View file

@ -468,11 +468,11 @@ else
} }
header ("Cache-Control: no-store, no-cache, must-revalidate"); header ("Cache-Control: no-store, no-cache, must-revalidate");
header ("Cache-Control: pre-check=0, post-check=0, max-age=0"); header ("Cache-Control: pre-check=0, post-check=0, max-age=0", false);
header ("Pragma: no-cache"); header ("Pragma: no-cache");
header ("Expires: " . gmdate("D, d M Y H:i:s", time()) . " GMT"); header ("Expires: " . gmdate("D, d M Y H:i:s", time()) . " GMT");
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
$template->pparse("overall_header"); $template->pparse("overall_header");
?> ?>