X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FSetup.php;h=41d59455cfe6400352ff7c2ccad05d3550229f3f;hb=138298b397b308ad6e4bfc7088884d90e8ac1e37;hp=e2fab4578e7e34ebe266c7f70984e76d916b9386;hpb=390d35a1af81607be7b89f265f672e0670ebdbe7;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,