installer: Define $wgResourceBasePath in LocalSettings.php
authorsaper <saper@saper.info>
Fri, 23 Oct 2015 12:40:00 +0000 (14:40 +0200)
committersaper <saper@saper.info>
Fri, 23 Oct 2015 21:41:06 +0000 (23:41 +0200)
Bug: T116374
Bug: T75031
Change-Id: I459c1097ed7048c3fe24e636e9ea22ec2e3b2675

includes/installer/LocalSettingsGenerator.php

index 5a2dd1a..d4f4938 100644 (file)
@@ -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']}\";