summaryrefslogtreecommitdiff
path: root/program/include/main.inc
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2005-10-20 15:51:59 +0000
committersvncommit <devs@roundcube.net>2005-10-20 15:51:59 +0000
commitf45ec7e91895c9de8c9c244a174f34220de0d9ab (patch)
treee16cb029f0b5e8a11bd4c23f41d3355ccfa7ffd6 /program/include/main.inc
parent4301b06027a81941ef418418775797b2b926a8b6 (diff)
MDB2 integration
Diffstat (limited to 'program/include/main.inc')
-rw-r--r--program/include/main.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index ae5899b43..8cad7778a 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -54,6 +54,8 @@ function rcmail_startup($task='mail')
// prepare DB connection
+ require_once('include/rcube_'.(empty($CONFIG['db_backend']) ? 'db' : $CONFIG['db_backend']).'.inc');
+
$DB = new rcube_db($CONFIG['db_dsnw'], $CONFIG['db_dsnr']);
$DB->sqlite_initials = $INSTALL_PATH.'SQL/sqlite.initial.sql';