From: Gabriel Wicke Date: Sun, 4 Jul 2004 17:52:08 +0000 (+0000) Subject: add Last-Modified header X-Git-Tag: 1.5.0alpha1~2721 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=15b9121957f5c612502a36fa1b17ffdf1ab4e44e;p=lhc%2Fweb%2Fwiklou.git add Last-Modified header --- diff --git a/includes/RawPage.php b/includes/RawPage.php index 4116f00566..003ab452f7 100644 --- a/includes/RawPage.php +++ b/includes/RawPage.php @@ -87,6 +87,7 @@ class RawPage { $rawtext = Article::getRevisionText( $s, "" ); if($wgInputEncoding != $this->mCharset) $rawtext = $wgLang->iconv( $wgInputEncoding, $this->mCharset, $rawtext ); + header( 'Last-modified: '.gmdate( "D, j M Y H:i:s", wfTimestamp2Unix( $s->timestamp )).' GMT' ); return $rawtext; } else { return '';