* Made it possible to run multiple installer instances in the same cookie domain...
authorTim Starling <tstarling@users.mediawiki.org>
Mon, 6 Dec 2010 13:20:01 +0000 (13:20 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Mon, 6 Dec 2010 13:20:01 +0000 (13:20 +0000)
commitbc46722902c63aa492b737a40592ae7e82c8963d
tree90350790e465c7bbeee57e2dfed90fc03db76490
parentf88703c39f42f84af30f54048fe23945fb432db3
* Made it possible to run multiple installer instances in the same cookie domain without them overwriting or misinterpreting each others' sessions. This is mostly paranoia: one could imagine a situation where the installer from one version of MW becomes insecure when run on the session from another. Did this by making installerData an array indexed by a hash of path and $wgVersion. I could have used $wgCookiePrefix, but that would have broken NoLocalSettings.php, which has no access to AutoLoader and so can't access Installer methods.

* Moved most of the functionality of config/index.php from the file level to a function, so that we can have local variables.
config/index.php
includes/installer/WebInstaller.php