this header should not harm other browsers

This commit is contained in:
Marc Delisle
2008-07-21 14:41:56 +00:00
parent 2077d964c2
commit 7146b10226

View File

@@ -364,9 +364,8 @@ if (!$save_on_server) {
header('Pragma: no-cache');
// test case: exporting a database into a .gz file with Safari
// would produce files not having the current time
if ('SAFARI' == PMA_USR_BROWSER_AGENT) {
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
}
// (added this header for Safari but should not harm other browsers)
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
}
} else {
// HTML