a little warning about AdminSettings.php (see bug #5725)
authorAntoine Musso <hashar@users.mediawiki.org>
Wed, 26 Apr 2006 19:47:47 +0000 (19:47 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Wed, 26 Apr 2006 19:47:47 +0000 (19:47 +0000)
maintenance/update.php

index 5c0d574..d8c44bd 100644 (file)
@@ -17,6 +17,9 @@ $wgTitle = Title::newFromText( "MediaWiki database updater" );
 $dbclass = 'Database'.ucfirst($wgDBtype);
 require_once("$dbclass.php");
 $dbc = new $dbclass;
+# TODO : check for AdminSettings file existence ? See #5725
+print "Attempting connection to the database. If it fails, maybe you are\n";
+print "missing a proper AdminSettings.php file in $IP\n\n";
 $wgDatabase = $dbc->newFromParams( $wgDBserver, $wgDBadminuser, $wgDBadminpassword, $wgDBname );
 
 print "Going to run database updates for $wgDBname\n";