mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-24 12:08:02 +02:00
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
This commit is contained in:
@ -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',
|
||||
|
Reference in New Issue
Block a user