X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FNoLocalSettings.php;h=d299ab6ff5dbe4b37631e77b3c25aff344150c5c;hb=e75de8144687d6a7f051927fb6bd2bd7073a9e09;hp=6de9bfcde0212356a4fb4daf5f5a733d4717f193;hpb=bd5fd843d672e35dde630d6be5d76437e8f5205a;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 );