aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2006-03-18 19:35:36 +0000
committerNils Adermann <naderman@naderman.de>2006-03-18 19:35:36 +0000
commit8c2dddf0b7498ac2fed077a80f3c987deb66d44d (patch)
treead03ef0670f4d86160e34ddf4a41ceb3efc20682
parent1d26f77f8b70bc485c9d94188c50d5ea53c34c48 (diff)
downloadforums-8c2dddf0b7498ac2fed077a80f3c987deb66d44d.tar
forums-8c2dddf0b7498ac2fed077a80f3c987deb66d44d.tar.gz
forums-8c2dddf0b7498ac2fed077a80f3c987deb66d44d.tar.bz2
forums-8c2dddf0b7498ac2fed077a80f3c987deb66d44d.tar.xz
forums-8c2dddf0b7498ac2fed077a80f3c987deb66d44d.zip
- fixed a little bug in the (old) installer
git-svn-id: file:///svn/phpbb/trunk@5658 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/install/install.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/install/install.php b/phpBB/install/install.php
index 5cbd1ae235..03b85ef0f4 100644
--- a/phpBB/install/install.php
+++ b/phpBB/install/install.php
@@ -1065,6 +1065,7 @@ if ($stage == 3)
include($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);
// Instantiate the database
+ $sql_db = 'dbal_' . $dbms;
$db = new $sql_db();
$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false);
@@ -1407,6 +1408,7 @@ function connect_check_db($error_connect, &$error, &$dbms, &$table_prefix, &$dbh
include($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);
// Instantiate it and set return on error true
+ $sql_db = 'dbal_' . $dbms;
$db = new $sql_db();
$db->sql_return_on_error(true);