Use new function for no cache headers
This commit is contained in:
parent
7281d04793
commit
cb337bbb02
@ -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');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user