Fix AutoloadGenerator to work on MediaWiki-Vagrant
authorBryan Davis <bd808@wikimedia.org>
Thu, 20 Nov 2014 23:05:07 +0000 (16:05 -0700)
committerBryan Davis <bd808@wikimedia.org>
Thu, 20 Nov 2014 23:05:07 +0000 (16:05 -0700)
commit179854c3ceff53617e452f2e3ef9b50b13bd0aac
tree9c4536940021420d63b6de650a987c126645a22f
parentc1826209e739d51359bcea37ff4116eed9bd971c
Fix AutoloadGenerator to work on MediaWiki-Vagrant

The use of realpath() in AutoloadGenerator::readFile() causes the
LocalSettings.php symlink to be dereferenced. Since the target file
lives outside of $IP, AutoloadGenerator would fail with an exception.

Change-Id: I4623b3da9b984026999189d70349ffb4754812a5
includes/utils/AutoloadGenerator.php