From 6477151e91f1281e0dc1a66a04864c58d16289e0 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Sat, 15 Jan 2005 11:28:21 +0000 Subject: [PATCH] Fix direct access to a private object propriety (patch by Andrew Miller) --- config/index.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config/index.php b/config/index.php index ba246e053d..d90caffcf9 100644 --- a/config/index.php +++ b/config/index.php @@ -414,7 +414,7 @@ if( $conf->posted && ( 0 == count( $errs ) ) ) { $wgTitle = Title::newFromText( "Installation script" ); $wgDatabase = Database::newFromParams( $wgDBserver, "root", $conf->RootPW, "", 1 ); - $wgDatabase->mIgnoreErrors = true; + $wgDatabase->ignoreErrors(true); @$myver = mysql_get_server_info( $wgDatabase->mConn ); if( $myver ) { @@ -436,7 +436,7 @@ if( $conf->posted && ( 0 == count( $errs ) ) ) { $wgDBadminpassword = $wgDBpassword; $wgDatabase = Database::newFromParams( $wgDBserver, $wgDBuser, $wgDBpassword, "", 1 ); $wgDatabase->isOpen(); - $wgDatabase->mIgnoreErrors = true; + $wgDatabase->ignoreErrors(true); @$myver = mysql_get_server_info( $wgDatabase->mConn ); if( !$myver ) { $errs["DBuser"] = "Check name/pass"; @@ -1104,6 +1104,9 @@ if ( \$wgCommandLineMode ) { \$wgProxyKey = \"$proxyKey\"; +# The whitelist +\$wgWhitelistRead = array(\"Special:Userlogin\"); + ## Default skin: you can change the default skin. Use the internal symbolic ## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook': # \$wgDefaultSkin = 'monobook'; -- 2.20.1