Installer: Do not use Vector skin if not installed
authorsaper <saper@saper.info>
Tue, 26 Aug 2014 19:38:41 +0000 (21:38 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Sat, 30 Aug 2014 22:34:53 +0000 (00:34 +0200)
commit8ac77bfbd3b5014b7665340f35de667e38072b73
tree8cf0d0d9228bed2b069cc24e97a416b21bbb08f3
parentc8181b78ea8e2c9a6353e23d868fe2dd9074a621
Installer: Do not use Vector skin if not installed

MediaWiki installer works fine in a bareskin
mode without Vector features, so do not
throw errors in the PHP error log just because
we don't have "skins" project extracted.

The message in the PHP error log:

Warning:  include_once(w/skins/Vector/Vector.php): failed to open stream: No such file or directory in w/includes/installer/WebInstallerOutput.php on line 135
Stack trace:
  1. {main}() w/mw-config/index.php:0
  2. wfInstallerMain() w/mw-config/index.php:38
  3. WebInstaller->execute() w/mw-config/index.php:79
  4. WebInstaller->outputCss() w/includes/installer/WebInstaller.php:185
  5. WebInstallerOutput->getCSS() w/includes/installer/WebInstaller.php:1200

Change-Id: I7b8bd77f5868af2ccf464e48db771f2e8e0472ff
includes/installer/WebInstallerOutput.php