From 99c9f593cd4c0a7b411d30f6fa2599b9d104e23f Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Wed, 14 Mar 2007 16:32:48 +0000 Subject: [PATCH] Allow password-less superusers via the checkbox. --- config/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/index.php b/config/index.php index ab465b3ac6..2fc91f2f3b 100644 --- a/config/index.php +++ b/config/index.php @@ -706,7 +706,7 @@ if( $conf->posted && ( 0 == count( $errs ) ) ) { error_reporting( E_ALL ); $wgSuperUser = ''; ## Possible connect as a superuser - if( $conf->Root ) { + if( $useRoot ) { $wgDBsuperuser = $conf->RootUser; echo( "
  • Attempting to connect to database \"postgres\" as superuser \"$wgDBsuperuser\"..." ); $wgDatabase = $dbc->newFromParams($wgDBserver, $wgDBsuperuser, $conf->RootPW, "postgres", 1); -- 2.20.1