mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Suggested change to headers ... seems to work fine on Apache2.
git-svn-id: file:///svn/phpbb/trunk@3711 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
a9425e4f33
commit
9482bb75ca
1 changed files with 5 additions and 6 deletions
|
@ -313,13 +313,12 @@ $template->assign_vars(array(
|
||||||
);
|
);
|
||||||
// 'S_LOGIN_ACTION' => 'login.'.$phpEx.$SID,
|
// 'S_LOGIN_ACTION' => 'login.'.$phpEx.$SID,
|
||||||
|
|
||||||
/*if ($config['send_encoding'])
|
if ($config['send_encoding'])
|
||||||
{
|
{
|
||||||
header ('Content-type: text/html; charset: ' . $user->lang['ENCODING']);
|
header ('Content-type: text/html; charset: ' . $user->lang['ENCODING']);
|
||||||
}*/
|
}
|
||||||
header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
|
header ('Cache-Control: private, no-cache="set-cookie", pre-check=0, post-check=0');
|
||||||
header ('Expires: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT');
|
header ('Expires: 0');
|
||||||
header ('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
header ('Pragma: no-cache');
|
||||||
header ('Pragma: private');
|
|
||||||
|
|
||||||
?>
|
?>
|
Loading…
Add table
Reference in a new issue