dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cae6192
)
Allow password-less superusers via the checkbox.
author
Greg Sabino Mullane
<greg@users.mediawiki.org>
Wed, 14 Mar 2007 16:32:48 +0000
(16:32 +0000)
committer
Greg Sabino Mullane
<greg@users.mediawiki.org>
Wed, 14 Mar 2007 16:32:48 +0000
(16:32 +0000)
config/index.php
patch
|
blob
|
history
diff --git
a/config/index.php
b/config/index.php
index
ab465b3
..
2fc91f2
100644
(file)
--- 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( $
use
Root ) {
$wgDBsuperuser = $conf->RootUser;
echo( "<li>Attempting to connect to database \"postgres\" as superuser \"$wgDBsuperuser\"..." );
$wgDatabase = $dbc->newFromParams($wgDBserver, $wgDBsuperuser, $conf->RootPW, "postgres", 1);