From cb337bbb02b41f4b99123dc6b9035a4ca4e0282c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 4 Aug 2011 14:32:02 +0200 Subject: [PATCH] Use new function for no cache headers --- libraries/header_http.inc.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libraries/header_http.inc.php b/libraries/header_http.inc.php index f9d7d71483..c30316d4eb 100644 --- a/libraries/header_http.inc.php +++ b/libraries/header_http.inc.php @@ -24,10 +24,7 @@ if (!$GLOBALS['cfg']['AllowThirdPartyFraming']) { header('X-Frame-Options: SAMEORIGIN'); header('X-Content-Security-Policy: allow \'self\'; options inline-script eval-script; frame-ancestors \'self\'; img-src \'self\' data:; script-src \'self\' www.phpmyadmin.net'); } -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('Pragma: no-cache'); // HTTP/1.0 +PMA_no_cache_header() if (!defined('IS_TRANSFORMATION_WRAPPER')) { // Define the charset to be used header('Content-Type: text/html; charset=utf-8');