From: Platonides Date: Sat, 21 Aug 2010 14:34:16 +0000 (+0000) Subject: Commit local change about not using $ourdb as global. X-Git-Tag: 1.31.0-rc.0~35410 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=fb7bf4c598a4177072f9e8ddef460adcb089ad84;p=lhc%2Fweb%2Fwiklou.git Commit local change about not using $ourdb as global. --- diff --git a/config/Installer.php b/config/Installer.php index c90ba44be1..8c7c0e5fa6 100644 --- a/config/Installer.php +++ b/config/Installer.php @@ -1598,7 +1598,7 @@ if( count( $errs ) ) { } ?> @@ -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 ) ) {
- +
@@ -1702,14 +1702,14 @@ if( count( $errs ) ) { - +

No MS SQL Server specific options at this time.

- +
@@ -1728,7 +1728,7 @@ if( count( $errs ) ) { - +

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 "

$full-specific options\n";