From 1be20d2e30ee621201752f78b8f232f424b81f4f Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 19 Aug 2007 15:58:31 +0000 Subject: [PATCH] again... ie6 is still not behaving correctly... the pragma header invalidates the content. I hope this is really the cause now. :/ git-svn-id: file:///svn/phpbb/trunk@8054 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/style.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/phpBB/style.php b/phpBB/style.php index 7560a93dff..f177d30c03 100644 --- a/phpBB/style.php +++ b/phpBB/style.php @@ -174,8 +174,6 @@ if ($id) } } - header('Content-type: text/css; charset=UTF-8'); - if ($recache) { include_once($phpbb_root_path . 'includes/acp/acp_styles.' . $phpEx); @@ -199,15 +197,15 @@ if ($id) // Only set the expire time if the theme changed data is older than 30 minutes - to cope with changes from the ACP if ($recache || $theme['theme_mtime'] > (time() - 1800)) { - header('Cache-Control: private, no-cache="set-cookie"'); header('Expires: 0'); - header('Pragma: no-cache'); } else { header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', time() + $expire_time)); } + header('Content-type: text/css; charset=UTF-8'); + // Parse Theme Data $replace = array( '{T_THEME_PATH}' => "{$phpbb_root_path}styles/" . $theme['theme_path'] . '/theme',