From 6196970dc26de011646a581044dbf05d95400c67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 4 Aug 2011 14:36:01 +0200 Subject: Use new function for no cache headers --- show_config_errors.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'show_config_errors.php') diff --git a/show_config_errors.php b/show_config_errors.php index 09a286f473..e163c426c5 100644 --- a/show_config_errors.php +++ b/show_config_errors.php @@ -7,10 +7,7 @@ */ $GLOBALS['now'] = gmdate('D, d M Y H:i:s') . ' 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('Pragma: no-cache'); // HTTP/1.0 +PMA_no_cache_header(); header('Content-Type: text/html; charset=utf-8'); require './libraries/vendor_config.php'; -- cgit v1.2.3