summaryrefslogtreecommitdiff
path: root/installer/config.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-06-13 09:14:50 +0000
committerthomascube <thomas@roundcube.net>2008-06-13 09:14:50 +0000
commitd5eb5cd1d7b36c6542a503f7b5930799b3bb2eaf (patch)
tree45075fc9d2621aaaa6f80c0c1dec0c23916eb7a9 /installer/config.php
parentc98f3b5d6e4c681b7e42ea71c32cd2ef1991b519 (diff)
Use MDB2 instead of DB in installer (#1485124)
Diffstat (limited to 'installer/config.php')
-rw-r--r--installer/config.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/config.php b/installer/config.php
index 26262db31..04683b9c4 100644
--- a/installer/config.php
+++ b/installer/config.php
@@ -184,7 +184,7 @@ echo $select_mdnreq->show(intval($RCI->getprop('mdn_requests')));
<p>Database settings for read/write operations:</p>
<?php
-require_once 'DB.php';
+require_once 'MDB2.php';
$supported_dbs = array('MySQL' => 'mysql', 'MySQLi' => 'mysqli',
'PgSQL' => 'pgsql', 'SQLite' => 'sqlite');
@@ -201,7 +201,7 @@ $input_dbname = new html_inputfield(array('name' => '_dbname', 'size' => 20, 'id
$input_dbuser = new html_inputfield(array('name' => '_dbuser', 'size' => 20, 'id' => "cfgdbuser"));
$input_dbpass = new html_passwordfield(array('name' => '_dbpass', 'size' => 20, 'id' => "cfgdbpass"));
-$dsnw = DB::parseDSN($RCI->getprop('db_dsnw'));
+$dsnw = MDB2::parseDSN($RCI->getprop('db_dsnw'));
echo $select_dbtype->show($RCI->is_post ? $_POST['_dbtype'] : $dsnw['phptype']);
echo '<label for="cfgdbtype">Database type</label><br />';