From: saper Date: Fri, 23 Oct 2015 12:40:00 +0000 (+0200) Subject: installer: Define $wgResourceBasePath in LocalSettings.php X-Git-Tag: 1.31.0-rc.0~9276^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=9b6257a8c46dbf229f480040fa8e93f78ea3cd9e installer: Define $wgResourceBasePath in LocalSettings.php Bug: T116374 Bug: T75031 Change-Id: I459c1097ed7048c3fe24e636e9ea22ec2e3b2675 --- diff --git a/includes/installer/LocalSettingsGenerator.php b/includes/installer/LocalSettingsGenerator.php index 5a2dd1a205..d4f4938434 100644 --- a/includes/installer/LocalSettingsGenerator.php +++ b/includes/installer/LocalSettingsGenerator.php @@ -334,7 +334,10 @@ if ( !defined( 'MEDIAWIKI' ) ) { \$wgScriptPath = \"{$this->values['wgScriptPath']}\"; ${serverSetting} -## The relative URL path to the logo. Make sure you change this from the default, +## The URL path to static resources (images, scripts, etc.) +\$wgResourceBasePath = \$wgScriptPath; + +## The URL path to the logo. Make sure you change this from the default, ## or else you'll overwrite your logo when you upgrade! \$wgLogo = \"{$this->values['wgLogo']}\";