X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=profileinfo.php;h=466f26aaec37202905481c630bd7fe117103e0c1;hb=a7b9cc4946a2f7fb081f64d9230bf944736a185b;hp=4e3fb5ad28ca2f1640af72d44db90b6538424a09;hpb=958167760104b037db7db0a3c64e248052217759;p=lhc%2Fweb%2Fwiklou.git diff --git a/profileinfo.php b/profileinfo.php index 4e3fb5ad28..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; @@ -36,7 +41,7 @@ header( 'Content-Type: text/html; charset=utf-8' ); - + Profiling data