summaryrefslogtreecommitdiff
path: root/program/include/main.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2005-11-01 22:03:59 +0000
committerthomascube <thomas@roundcube.net>2005-11-01 22:03:59 +0000
commit36df57ce32ebad9416d78e4f86a41e5f1707f4ad (patch)
tree0fb56c8101464a2ed12f50e74f0b2b19a9cd6d12 /program/include/main.inc
parentccfda8966dc09337e642b246341f25ea7fe3d9ef (diff)
Edited MDB2 support
Diffstat (limited to 'program/include/main.inc')
-rw-r--r--program/include/main.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index 0ebbeaa5a..9248caa99 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -64,7 +64,8 @@ function rcmail_startup($task='mail')
$DB->sqlite_initials = $INSTALL_PATH.'SQL/sqlite.initial.sql';
// we can use the database for storing session data
- if (is_object($DB) && $DB->db_provider!='sqlite')
+ // session queries do not work with MDB2
+ if ($CONFIG['db_backend']!='mdb2' && is_object($DB) && $DB->db_provider!='sqlite')
include_once('include/session.inc');