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 /tbl_get_field.php | |
parent | 2283b016bb597ab70e557ae0f2ac18c64b473faa (diff) |
Use new function for no cache headers
Diffstat (limited to 'tbl_get_field.php')
-rw-r--r-- | tbl_get_field.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tbl_get_field.php b/tbl_get_field.php index 4d4540beb5..8c6c1639e9 100644 --- a/tbl_get_field.php +++ b/tbl_get_field.php @@ -38,15 +38,5 @@ if ($result === false) { @ini_set('url_rewriter.tags', ''); PMA_download_header($table . '-' . $transform_key . '.bin', PMA_detectMIME($result)); -if (PMA_USR_BROWSER_AGENT == 'IE') { - header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); - header('Pragma: public'); -} else { - header('Pragma: no-cache'); - // test case: exporting a database into a .gz file with Safari - // would produce files not having the current time - // (added this header for Safari but should not harm other browsers) - header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); -} echo $result; ?> |