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