restore cache'ing in phpmyadmin.css.php

This commit is contained in:
Crack
2010-08-06 14:46:01 +02:00
parent 60329f14cb
commit 4c39f5012e
2 changed files with 2 additions and 7 deletions

View File

@@ -1 +0,0 @@
restore cache'ing in phpmyadmin.css.php

View File

@@ -35,11 +35,7 @@ header('Content-Type: text/css; charset=UTF-8');
// Cache output in client - the nocache query parameter makes sure that this
// file is reloaded when config changes
// todo: restore header
//header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 3600) . ' GMT');
//header('Expires: ' . $GLOBALS['now']); // rfc2616 - Section 14.21
//header('Last-Modified: ' . $GLOBALS['now']);
header('Cache-Control: no-store, no-cache, must-revalidate, pre-check=0, post-check=0, max-age=0'); // HTTP/1.1
header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 3600) . ' GMT');
$_SESSION['PMA_Theme_Manager']->printCss(PMA_FRAME);
?>
?>