X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FLocalSettingsGenerator.php;h=301db14e946b587c00cc9d18a49d295c4198b710;hb=e28c21fe9a97c1832fe82713c74207eb4b9beb42;hp=56d835375887995e1c23f341a35983af10b0a4ff;hpb=a78c8093a3abd6f43ed0c74e72ec1b9dd23b4168;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/LocalSettingsGenerator.php b/includes/installer/LocalSettingsGenerator.php index 56d8353758..301db14e94 100644 --- a/includes/installer/LocalSettingsGenerator.php +++ b/includes/installer/LocalSettingsGenerator.php @@ -222,10 +222,10 @@ class LocalSettingsGenerator { } } - $wgServerSetting = ""; + $serverSetting = ""; if ( array_key_exists( 'wgServer', $this->values ) && $this->values['wgServer'] !== null ) { - $wgServerSetting = "\n## The protocol and server name to use in fully-qualified URLs\n"; - $wgServerSetting .= "\$wgServer = \"{$this->values['wgServer']}\";\n"; + $serverSetting = "\n## The protocol and server name to use in fully-qualified URLs\n"; + $serverSetting .= "\$wgServer = \"{$this->values['wgServer']}\";\n"; } switch ( $this->values['wgMainCacheType'] ) { @@ -271,7 +271,7 @@ if ( !defined( 'MEDIAWIKI' ) ) { ## http://www.mediawiki.org/wiki/Manual:Short_URL \$wgScriptPath = \"{$this->values['wgScriptPath']}\"; \$wgScriptExtension = \"{$this->values['wgScriptExtension']}\"; -${wgServerSetting} +${serverSetting} ## The relative URL path to the skins directory \$wgStylePath = \"\$wgScriptPath/skins\";