diff options
author | thomascube <thomas@roundcube.net> | 2005-11-01 22:03:59 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2005-11-01 22:03:59 +0000 |
commit | 36df57ce32ebad9416d78e4f86a41e5f1707f4ad (patch) | |
tree | 0fb56c8101464a2ed12f50e74f0b2b19a9cd6d12 /program/include/main.inc | |
parent | ccfda8966dc09337e642b246341f25ea7fe3d9ef (diff) |
Edited MDB2 support
Diffstat (limited to 'program/include/main.inc')
-rw-r--r-- | program/include/main.inc | 3 |
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'); |