X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=load.php;h=c832237059948450919f8cd895c75e176ae3defb;hb=7070dfc250e229ea4e30028c23e31c9cc15c4460;hp=2b97f7aa2a85109c68ca13f655e129c2c69c4e76;hpb=b2c6557fa74a9e0afcfbe9608e050bb99c32f2de;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';