ports/mail/roundcubemail/patches/patch-config_config_inc_php_sample

13 lines
700 B
Text

Index: config/config.inc.php.sample
--- config/config.inc.php.sample.orig
+++ config/config.inc.php.sample
@@ -25,7 +25,8 @@ $config = [];
// For examples see http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php
// NOTE: for SQLite use absolute path (Linux): 'sqlite:////full/path/to/sqlite.db?mode=0646'
// or (Windows): 'sqlite:///C:/full/path/to/sqlite.db'
-$config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail';
+// $config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail';
+$config['db_dsnw'] = 'sqlite:///roundcubemail/db/sqlite.db?mode=0660';
// IMAP host chosen to perform the log-in.
// See defaults.inc.php for the option description.