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:
4364a77
)
typo and minor tweak to permanent redirect
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Mon, 1 Mar 2004 22:28:33 +0000
(22:28 +0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Mon, 1 Mar 2004 22:28:33 +0000
(22:28 +0000)
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
0e028cb
..
1b645df
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-243,7
+243,7
@@
class OutputPage {
global $wgServer;
$this->mRedirect = $wgServer . $this->mRedirect;
}
- if( $this->mRdirectCode
!= '302
') {
+ if( $this->mRdirectCode
== '301
') {
header("HTTP/1.1 {$this->mRedirectCode} Moved Permanently");
$this->mLastModified = gmdate( "D, j M Y H:i:s", wfTimestamp2Unix(
max( $timestamp, $wgUser->mTouched ) ) ) . " GMT";