diff options
author | Michal Čihař <mcihar@suse.cz> | 2011-08-04 16:36:01 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@suse.cz> | 2011-08-04 16:36:01 +0400 |
commit | 6196970dc26de011646a581044dbf05d95400c67 (patch) | |
tree | 05e43ef425a7e5bb981d26c2f222317920fc0386 /show_config_errors.php | |
parent | 2283b016bb597ab70e557ae0f2ac18c64b473faa (diff) |
Use new function for no cache headers
Diffstat (limited to 'show_config_errors.php')
-rw-r--r-- | show_config_errors.php | 5 |
1 files changed, 1 insertions, 4 deletions
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'; |