diff options
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'); |