Updater: Avoid fatal on wfLoadSkin/wfLoadExtension
authorumherirrender <umherirrender_de.wp@web.de>
Mon, 27 Jul 2015 19:04:36 +0000 (21:04 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Mon, 27 Jul 2015 19:04:36 +0000 (21:04 +0200)
commit621521601ad0cf0fdb7509bc8d85438b20bc8c84
treed3de2a39f0360059e2fc9369bcbad96f914891c2
parent194b44479de9f1c460ae6e09dbdcca94f65d3bbe
Updater: Avoid fatal on wfLoadSkin/wfLoadExtension

When having $wgExtensionDirectory or $wgStyleDirectory set to a
different location in LocalSettings.php, the load of LocalSettings.php
can give fatal, because the called functions wfLoadSkin and
wfLoadExtensions need at least this globals to be set correctly.

This does not bring the vector skin back to the updater, when having the
globals set, but it avoids a fatal about "MonoBook/skin.json does not
exist!" or similar.

Change-Id: I095c545f77aa50d6be4cd48588bd1ae1c82cf343
includes/installer/Installer.php