dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
479855a
)
add Last-Modified header
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Sun, 4 Jul 2004 17:52:08 +0000
(17:52 +0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Sun, 4 Jul 2004 17:52:08 +0000
(17:52 +0000)
includes/RawPage.php
patch
|
blob
|
history
diff --git
a/includes/RawPage.php
b/includes/RawPage.php
index
4116f00
..
003ab45
100644
(file)
--- 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 '';