X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=profileinfo.php;h=466f26aaec37202905481c630bd7fe117103e0c1;hp=95636093c65a68c122d72709d1ed58c3f98aa4d3;hb=0c7d0d38dbe1f01c11f2f5834a7bff7d7f160e99;hpb=2a1fcd27c19913394c179cbe8be1a9e981d7f81b diff --git a/profileinfo.php b/profileinfo.php index 95636093c6..466f26aaec 100644 --- a/profileinfo.php +++ b/profileinfo.php @@ -25,6 +25,11 @@ * @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;