X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2FSetup.php;h=41d59455cfe6400352ff7c2ccad05d3550229f3f;hb=23b7f3bbd553183a21d785bae175249efad5ee5d;hp=e2fab4578e7e34ebe266c7f70984e76d916b9386;hpb=dc6d8d2c3e4822ec9a4387255218e63a60aea6fe;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Setup.php b/includes/Setup.php index e2fab4578e..41d59455cf 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -825,7 +825,7 @@ $wgInitialSessionId = null; if ( !defined( 'MW_NO_SESSION' ) && !$wgCommandLineMode ) { // If session.auto_start is there, we can't touch session name if ( $wgPHPSessionHandling !== 'disable' && !wfIniGetBool( 'session.auto_start' ) ) { - session_name( $wgSessionName ? $wgSessionName : $wgCookiePrefix . '_session' ); + session_name( $wgSessionName ?: $wgCookiePrefix . '_session' ); } // Create the SessionManager singleton and set up our session handler,