Fix regression where using an absolute path to SQLite database file on Windows didn't work (#7196)

bnet/additions
Aleksander Machniak 5 years ago
parent bff226801d
commit ea1260ea72

@ -22,6 +22,7 @@ CHANGELOG Roundcube Webmail
- Fix bug where message parts with no Content-Disposition header and no name were not listed on attachments list (#7117)
- Fix display issues with mail subject that contains line-breaks (#7191)
- Fix invalid Content-Transfer-Encoding on multipart messages - Mail_Mime fix (#7170)
- Fix regression where using an absolute path to SQLite database file on Windows didn't work (#7196)
RELEASE 1.4.2
-------------

@ -1264,6 +1264,7 @@ class rcube_db
if (!empty($parsed['phptype']) && !empty($parsed['database'])
&& stripos($parsed['phptype'], 'sqlite') === 0
&& $parsed['database'][0] != '/'
&& strpos($parsed['database'], ':') === false
) {
$parsed['database'] = INSTALL_PATH . $parsed['database'];
}

Loading…
Cancel
Save