restore cache'ing in phpmyadmin.css.php
This commit is contained in:
@@ -1 +0,0 @@
|
||||
restore cache'ing in phpmyadmin.css.php
|
@@ -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);
|
||||
?>
|
Reference in New Issue
Block a user