From f052f6a0e82f41e71e693e9762c64a6e37c0ba14 Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Tue, 8 Sep 2009 19:19:18 +0000 Subject: [PATCH] Initialise wgDBadminuser and wgDBadminpassword to null in DefaultSettings.php, to avoid register_globals dramaz --- includes/DefaultSettings.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index e3108edc8d..98677d2ce1 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -597,6 +597,10 @@ $wgDBpassword = ''; /** Database type */ $wgDBtype = 'mysql'; +/** Separate username and password for maintenance tasks. Leave as null to use the default */ +$wgDBadminuser = null; +$wgDBadminpassword = null; + /** Search type * Leave as null to select the default search engine for the * selected database type (eg SearchMySQL), or set to a class -- 2.20.1