mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
issue with _SERVERS
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4101 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
b800d5d714
commit
a2c007ca0a
1 changed files with 1 additions and 1 deletions
|
@ -466,7 +466,7 @@ else
|
||||||
|
|
||||||
// Work around for "current" Apache 2 + PHP module which seems to not
|
// Work around for "current" Apache 2 + PHP module which seems to not
|
||||||
// cope with private cache control setting
|
// cope with private cache control setting
|
||||||
if (!empty($HTTP_SERVER_VARS['SERVER_SOFTWARE']) && strstr($HTTP_SERVER_VARS['SERVER_SOFTWARE'], 'Apache/2'))
|
if (!empty($_SERVER['SERVER_SOFTWARE']) && strstr($_SERVER['SERVER_SOFTWARE'], 'Apache/2'))
|
||||||
{
|
{
|
||||||
header ('Cache-Control: no-cache, pre-check=0, post-check=0, max-age=0');
|
header ('Cache-Control: no-cache, pre-check=0, post-check=0, max-age=0');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue