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:
46a4739
)
Fix for r70571, still have to use $_COOKIE here too, $wgContLang is undefined so far
author
Chad Horohoe
<demon@users.mediawiki.org>
Fri, 6 Aug 2010 21:10:18 +0000
(21:10 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Fri, 6 Aug 2010 21:10:18 +0000
(21:10 +0000)
includes/Setup.php
patch
|
blob
|
history
diff --git
a/includes/Setup.php
b/includes/Setup.php
index
77d13d4
..
133be74
100644
(file)
--- a/
includes/Setup.php
+++ b/
includes/Setup.php
@@
-305,7
+305,7
@@
if( !wfIniGetBool( 'session.auto_start' ) )
session_name( $wgSessionName ? $wgSessionName : $wgCookiePrefix . '_session' );
if( !defined( 'MW_NO_SESSION' ) ) {
- if( !$wgCommandLineMode && ( $wgRequest->checkSessionCookie() ||
$wgRequest->getCookie( 'Token'
) ) ) {
+ if( !$wgCommandLineMode && ( $wgRequest->checkSessionCookie() ||
isset( $_COOKIE[$wgCookiePrefix.'Token']
) ) ) {
wfIncrStats( 'request_with_session' );
wfSetupSession();
$wgSessionStarted = true;