X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FNoLocalSettings.php;h=d299ab6ff5dbe4b37631e77b3c25aff344150c5c;hb=ce08980261b31c4506480a417daa3ac2b35fa894;hp=6de9bfcde0212356a4fb4daf5f5a733d4717f193;hpb=4f21e6be661f7305abc223bb31600970a3fb5326;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/NoLocalSettings.php b/includes/NoLocalSettings.php index 6de9bfcde0..d299ab6ff5 100644 --- a/includes/NoLocalSettings.php +++ b/includes/NoLocalSettings.php @@ -37,7 +37,9 @@ foreach ( array_filter( explode( '/', $_SERVER['PHP_SELF'] ) ) as $part ) { if ( !function_exists( 'session_name' ) ) { $installerStarted = false; } else { - session_name( 'mw_installer_session' ); + if ( !wfIniGetBool( 'session.auto_start' ) ) { + session_name( 'mw_installer_session' ); + } $oldReporting = error_reporting( E_ALL & ~E_NOTICE ); $success = session_start(); error_reporting( $oldReporting );