remove no_cache_incantation()
This commit is contained in:
parent
9bfda43e77
commit
b68a266a73
|
@ -2929,15 +2929,6 @@
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
// from http://developer.apple.com/internet/safari/faq.html
|
|
||||||
function no_cache_incantation() {
|
|
||||||
header("Expires: Mon, 22 Dec 1980 00:00:00 GMT"); // Happy birthday to me :)
|
|
||||||
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified
|
|
||||||
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0"); // HTTP/1.1
|
|
||||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
|
||||||
header("Pragma: no-cache"); // HTTP/1.0
|
|
||||||
}
|
|
||||||
|
|
||||||
function format_warning($msg, $id = "") {
|
function format_warning($msg, $id = "") {
|
||||||
global $link;
|
global $link;
|
||||||
return "<div class=\"warning\" id=\"$id\">
|
return "<div class=\"warning\" id=\"$id\">
|
||||||
|
|
|
@ -50,8 +50,6 @@
|
||||||
|
|
||||||
login_sequence($link);
|
login_sequence($link);
|
||||||
|
|
||||||
no_cache_incantation();
|
|
||||||
|
|
||||||
header('Content-Type: text/html; charset=utf-8');
|
header('Content-Type: text/html; charset=utf-8');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -25,8 +25,6 @@
|
||||||
|
|
||||||
login_sequence($link);
|
login_sequence($link);
|
||||||
|
|
||||||
no_cache_incantation();
|
|
||||||
|
|
||||||
header('Content-Type: text/html; charset=utf-8');
|
header('Content-Type: text/html; charset=utf-8');
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||||
|
|
Loading…
Reference in New Issue