X-Git-Url: http://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FNoLocalSettings.php;h=f6f4cd3a3ef752e70154ac559975190958e5ae88;hp=46e9630f3497dae06c5c42c0659ca0185ebe57f3;hb=326d52f9613c5227d75f97361be6ec6ef78b214e;hpb=1054deece9c03a448f03cf3fd03493458d9bee09 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