r56059 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56058‎ | r56059 | r56060 >
Date:19:19, 8 September 2009
Author:werdna
Status:ok
Tags:
Comment:
Initialise wgDBadminuser and wgDBadminpassword to null in DefaultSettings.php, to avoid register_globals dramaz
Modified paths:
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/DefaultSettings.php
@@ -597,6 +597,10 @@
598598 /** Database type */
599599 $wgDBtype = 'mysql';
600600
 601+/** Separate username and password for maintenance tasks. Leave as null to use the default */
 602+$wgDBadminuser = null;
 603+$wgDBadminpassword = null;
 604+
601605 /** Search type
602606 * Leave as null to select the default search engine for the
603607 * selected database type (eg SearchMySQL), or set to a class

Status & tagging log