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

pull/7203/head
Aleksander Machniak 4 years ago
parent 0b02e87afe
commit 60c8dd2e23

@ -32,6 +32,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
-------------

@ -1325,6 +1325,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