X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FNoLocalSettings.php;h=f6f4cd3a3ef752e70154ac559975190958e5ae88;hb=33415e2930b8e583fe81ec026608c0af523f7afe;hp=46e9630f3497dae06c5c42c0659ca0185ebe57f3;hpb=d355d819872bcecb928ac2603675bd0c1e32992a;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