X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FNoLocalSettings.php;h=f6f4cd3a3ef752e70154ac559975190958e5ae88;hb=1ee582b2a867207a95e3e4d3ff11ea814e216cdd;hp=46e9630f3497dae06c5c42c0659ca0185ebe57f3;hpb=b37772a99128afe1699a60718ebe2a6f8469aa8f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/NoLocalSettings.php b/includes/NoLocalSettings.php index 46e9630f34..f6f4cd3a3e 100644 --- a/includes/NoLocalSettings.php +++ b/includes/NoLocalSettings.php @@ -52,7 +52,7 @@ try { echo $templateParser->processTemplate( 'NoLocalSettings', [ - 'wgVersion' => ( isset( $wgVersion ) ? $wgVersion : 'VERSION' ), + 'wgVersion' => ( $wgVersion ?? 'VERSION' ), 'path' => $path, 'localSettingsExists' => file_exists( MW_CONFIG_FILE ), 'installerStarted' => $installerStarted