From 9b6257a8c46dbf229f480040fa8e93f78ea3cd9e Mon Sep 17 00:00:00 2001 From: saper Date: Fri, 23 Oct 2015 14:40:00 +0200 Subject: [PATCH] installer: Define $wgResourceBasePath in LocalSettings.php Bug: T116374 Bug: T75031 Change-Id: I459c1097ed7048c3fe24e636e9ea22ec2e3b2675 --- includes/installer/LocalSettingsGenerator.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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']}\"; -- 2.20.1