dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
adaf3d2
)
Merge "Log violations of load.php's no-session constraint"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Mon, 7 Mar 2016 23:17:04 +0000
(23:17 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Mon, 7 Mar 2016 23:17:04 +0000
(23:17 +0000)
load.php
patch
|
blob
|
history
diff --git
a/load.php
b/load.php
index
c6452fb
..
d30a348
100644
(file)
--- a/
load.php
+++ b/
load.php
@@
-24,6
+24,11
@@
use MediaWiki\Logger\LoggerFactory;
+// This endpoint is supposed to be independent of request cookies and other
+// details of the session. Log warnings for violations of the no-session
+// constraint.
+define( 'MW_NO_SESSION', 'warn' );
+
require __DIR__ . '/includes/WebStart.php';
// URL safety checks