From: Brion Vibber Date: Tue, 9 Nov 2004 21:03:41 +0000 (+0000) Subject: Remember to set variables before they are used, unless you *enjoy* SQL injection... X-Git-Tag: 1.5.0alpha1~1383 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=e2158ace20332caa30958285d8427e24f5d6029e;p=lhc%2Fweb%2Fwiklou.git Remember to set variables before they are used, unless you *enjoy* SQL injection via register_globals vulnerability. --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 2b618a6ada..4741378cd9 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -213,7 +213,7 @@ $wgDBschema = 'mediawiki'; # The server for this database must be the same as for the main # database. # EXPERIMENTAL -# $wgSharedDB=''; +$wgSharedDB = null; # Database load balancer # This is a two-dimensional array, an array of server info structures @@ -703,6 +703,7 @@ $wgDefaultSkin = 'monobook'; $wgAllowRealName = true; # Use XML parser? + $wgUseXMLparser = false ; # Extensions