From: Antoine Musso Date: Sat, 15 Jan 2005 11:28:21 +0000 (+0000) Subject: Fix direct access to a private object propriety (patch by Andrew Miller) X-Git-Tag: 1.5.0alpha1~931 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=6477151e91f1281e0dc1a66a04864c58d16289e0;p=lhc%2Fweb%2Fwiklou.git Fix direct access to a private object propriety (patch by Andrew Miller) --- 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';