installer: Export wgResourceBasePath in LocalSettingsGenerator
authorTimo Tijhof <krinklemail@gmail.com>
Sun, 24 May 2015 09:30:21 +0000 (11:30 +0200)
committerTimo Tijhof <krinklemail@gmail.com>
Sun, 24 May 2015 09:30:21 +0000 (11:30 +0200)
commitf325d07b6c6a739a29544fe4dfb429f29a263d85
tree3e77b941e9925dcb3baaf726a6b8bad7a0a8f8b6
parentc22956d5f5131485c75b996190d8a76c51d1607f
installer: Export wgResourceBasePath in LocalSettingsGenerator

wgRightsIcon uses wgResourceBasePath in its value, therefore it
must be exported first. Otherwise $wgResourceBasePath will still
be null (as from DefaultSettings.php) and cause an incorrect
value to be assigned.

Also fix $wgLogo to use wgResourceBasePath instead of wgScriptPath,
to match what Setup.php does already.

Bug: T75031
Change-Id: I6f18895f3caa50871327eec108fc7d70c1077f1e
includes/installer/Installer.php
includes/installer/LocalSettingsGenerator.php