From a2c007ca0a31045cc295baa11e888e668e578f91 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Mon, 9 Jun 2003 19:28:36 +0000 Subject: [PATCH] issue with _SERVERS git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4101 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/page_header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/page_header.php b/phpBB/includes/page_header.php index 3b03050c95..cf1c2e6704 100644 --- a/phpBB/includes/page_header.php +++ b/phpBB/includes/page_header.php @@ -466,7 +466,7 @@ else // Work around for "current" Apache 2 + PHP module which seems to not // 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'); }