Fix regression from r51677, still need to load AdminSettings if it exists for back...
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 10 Mar 2010 12:44:57 +0000 (12:44 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 10 Mar 2010 12:44:57 +0000 (12:44 +0000)
maintenance/doMaintenance.php

index f13ca07..008c5b8 100644 (file)
@@ -76,6 +76,11 @@ if( file_exists( "$IP/wmf-config/wikimedia-mode" ) ) {
 } else {
        require_once( $maintenance->loadSettings() );
 }
+if ( $maintenance->getDbType() === Maintenance::DB_ADMIN &&
+               is_readable( "$IP/AdminSettings.php" ) )
+{
+       require( "$IP/AdminSettings.php" );
+}
 $maintenance->finalSetup();
 // Some last includes
 require_once( "$IP/includes/Setup.php" );