From: Platonides
@@ -1639,7 +1639,7 @@ if( count( $errs ) ) {
If you need to share one database between multiple wikis, or @@ -1678,7 +1678,7 @@ if( count( $errs ) ) {
- + @@ -1689,7 +1689,7 @@ if( count( $errs ) ) {No MS SQL Server specific options at this time.
If you need to share one database between multiple wikis, or @@ -2218,8 +2218,7 @@ function testMemcachedServer( $server ) { return $errstr; } -function database_picker($conf) { - global $ourdb; +function database_picker($ourdb, $conf) { print "\n"; foreach(array_keys($ourdb) as $db) { if ($ourdb[$db]['havedriver']) { @@ -2231,8 +2230,7 @@ function database_picker($conf) { print "\n\t"; } -function database_switcher($db) { - global $ourdb; +function database_switcher($ourdb, $db) { $color = $ourdb[$db]['bgcolor']; $full = $ourdb[$db]['fullname']; print "