summaryrefslogtreecommitdiff
path: root/program/include/main.inc
diff options
context:
space:
mode:
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';