X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=load.php;h=c832237059948450919f8cd895c75e176ae3defb;hb=dd57ff3cce86f3055c249a414c49b74f2bcb3497;hp=2b97f7aa2a85109c68ca13f655e129c2c69c4e76;hpb=1606fb977b06223aa7641baa04243b8ab7528ee6;p=lhc%2Fweb%2Fwiklou.git diff --git a/load.php b/load.php index 2b97f7aa2a..c832237059 100644 --- a/load.php +++ b/load.php @@ -25,9 +25,8 @@ 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' ); +// details of the session. Enforce this constraint with respect to session use. +define( 'MW_NO_SESSION', 1 ); require __DIR__ . '/includes/WebStart.php';