dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Expose SearchEngine specific profiles"
[lhc/web/wiklou.git]
/
profileinfo.php
diff --git
a/profileinfo.php
b/profileinfo.php
index
9563609
..
466f26a
100644
(file)
--- a/
profileinfo.php
+++ b/
profileinfo.php
@@
-25,6
+25,11
@@
* @file
*/
* @file
*/
+// 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' );
+
ini_set( 'zlib.output_compression', 'off' );
$wgEnableProfileInfo = false;
ini_set( 'zlib.output_compression', 'off' );
$wgEnableProfileInfo = false;