X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%29%20.%20%22?a=blobdiff_plain;f=includes%2Finstaller%2FInstaller.php;h=987925c747a413f82a4082d9dadbc4637113e644;hb=914e7e2b5d34104bd9ae800f632c68ddc6eecef1;hp=195c5647ff3fd569cf836ab887b7119d81103cff;hpb=b0751af7538353fff1bfa41acd09f77dc9f78b4b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index 195c5647ff..987925c747 100644 --- a/includes/installer/Installer.php +++ b/includes/installer/Installer.php @@ -539,6 +539,7 @@ abstract class Installer { // registration out of the global scope and into a real format. // @see https://bugzilla.wikimedia.org/67440 global $wgAutoloadClasses; + $wgAutoloadClasses = array(); wfSuppressWarnings(); $_lsExists = file_exists( "$IP/LocalSettings.php" ); @@ -739,6 +740,7 @@ abstract class Installer { /** * Environment check for register_globals. * Prevent installation if enabled + * @return bool */ protected function envCheckRegisterGlobals() { if ( wfIniGetBool( 'register_globals' ) ) { @@ -1522,6 +1524,7 @@ abstract class Installer { array( 'name' => 'interwiki', 'callback' => array( $installer, 'populateInterwikiTable' ) ), array( 'name' => 'stats', 'callback' => array( $this, 'populateSiteStats' ) ), array( 'name' => 'keys', 'callback' => array( $this, 'generateKeys' ) ), + array( 'name' => 'updates', 'callback' => array( $installer, 'insertUpdateKeys' ) ), array( 'name' => 'sysop', 'callback' => array( $this, 'createSysop' ) ), array( 'name' => 'mainpage', 'callback' => array( $this, 'createMainpage' ) ), );