better HTTP timestamp
darcs-hash:20081202044441-5ed1f-63025fde108bff917253995f448f841160c8e394.gz
This commit is contained in:
parent
be33850c5f
commit
df5ce60edc
@ -73,7 +73,7 @@ class Action { // lawsuit
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($lm) {
|
if ($lm) {
|
||||||
header('Last-Modified: ' . date(DATE_RFC822, $lm));
|
header('Last-Modified: ' . date(DATE_RFC1123, $lm));
|
||||||
$if_modified_since = $_SERVER['HTTP_IF_MODIFIED_SINCE'];
|
$if_modified_since = $_SERVER['HTTP_IF_MODIFIED_SINCE'];
|
||||||
if ($if_modified_since) {
|
if ($if_modified_since) {
|
||||||
$ims = strtotime($if_modified_since);
|
$ims = strtotime($if_modified_since);
|
||||||
|
Loading…
Reference in New Issue
Block a user