From a0d5387beb3775059d31d97e50938280cb64e2bd Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Wed, 26 Apr 2006 19:47:47 +0000 Subject: [PATCH] a little warning about AdminSettings.php (see bug #5725) --- maintenance/update.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/maintenance/update.php b/maintenance/update.php index 5c0d5746d2..d8c44bda9e 100644 --- a/maintenance/update.php +++ b/maintenance/update.php @@ -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"; -- 2.20.1