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:
3bbf7dc
)
Fix database user existence check: a username may be allowed to log in but not on...
author
Brion Vibber
<brion@users.mediawiki.org>
Wed, 5 Apr 2006 08:50:27 +0000
(08:50 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Wed, 5 Apr 2006 08:50:27 +0000
(08:50 +0000)
config/index.php
patch
|
blob
|
history
diff --git
a/config/index.php
b/config/index.php
index
ee22797
..
736538b
100644
(file)
--- a/
config/index.php
+++ b/
config/index.php
@@
-690,7
+690,7
@@
if( $conf->posted && ( 0 == count( $errs ) ) ) {
# Set up the "regular user" account *if we can, and if we need to*
if( $conf->Root ) {
# See if we need to
- $wgDatabase2 = Database::newFromParams( $wgDBserver, $wgDBuser, $wgDBpassword,
''
, 1 );
+ $wgDatabase2 = Database::newFromParams( $wgDBserver, $wgDBuser, $wgDBpassword,
$wgDBname
, 1 );
if( $wgDatabase2->isOpen() ) {
# Nope, just close the test connection and continue
$wgDatabase2->close();