aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/style.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/style.php')
-rw-r--r--phpBB/style.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/style.php b/phpBB/style.php
index 84a2394744..38ffd5426b 100644
--- a/phpBB/style.php
+++ b/phpBB/style.php
@@ -128,9 +128,14 @@ if ($id && $sid)
$db->sql_query($sql);
$cache->destroy('sql', STYLES_THEME_TABLE);
+
+ header('Expires: 0');
+ }
+ else
+ {
+ header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', time() + 3600));
}
- header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', time() + 3600));
header('Content-type: text/css');
// Parse Theme Data