From b553527e996d31f22d712560c82c54429b7a7456 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Mon, 16 Jun 2008 16:20:45 +0000 Subject: [PATCH] Use some more $DB in installer. Like rest of db accesses. Just a sintax thing. --- install.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.php b/install.php index 55ad1b25b9..9d133724ae 100644 --- a/install.php +++ b/install.php @@ -459,9 +459,9 @@ if ($nextstage == SAVE) { $str .= '$CFG = new stdClass();'."\r\n"; // prevent PHP5 strict warnings $str .= "\r\n"; - $database = $databases[$INSTALL['dbtype']]; - $database->connect($INSTALL['dbhost'], $INSTALL['dbuser'], $INSTALL['dbpass'], $INSTALL['dbname'], false, $INSTALL['prefix']); - $dbconfig = $database->export_dbconfig(); + $DB = $databases[$INSTALL['dbtype']]; + $DB->connect($INSTALL['dbhost'], $INSTALL['dbuser'], $INSTALL['dbpass'], $INSTALL['dbname'], false, $INSTALL['prefix']); + $dbconfig = $DB->export_dbconfig(); $dbconfig->persistent = false; foreach ($dbconfig as $key=>$value) { -- 2.39.5