default db needs to be set in config.inc.php as well; pointed out by aja@

This commit is contained in:
sthen 2014-04-30 09:16:06 +00:00
parent 09b419300b
commit 5170f2c501
2 changed files with 14 additions and 2 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.79 2014/04/29 19:38:40 sthen Exp $
# $OpenBSD: Makefile,v 1.80 2014/04/30 09:16:06 sthen Exp $
COMMENT= imap4 webmail client
COMPOSER_V= 1.0.0-alpha8
DISTNAME= roundcubemail-1.0.0
REVISION= 1
REVISION= 2
CATEGORIES= mail www
HOMEPAGE= http://www.roundcube.net/

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-config_config_inc_php_sample,v 1.1 2014/04/30 09:16:06 sthen Exp $
--- config/config.inc.php.sample.orig Wed Apr 30 10:14:57 2014
+++ config/config.inc.php.sample Wed Apr 30 10:15:16 2014
@@ -24,7 +24,7 @@ $config = array();
// Currently supported db_providers: mysql, pgsql, sqlite, mssql or sqlsrv
// For examples see http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php
// NOTE: for SQLite use absolute path: 'sqlite:////full/path/to/sqlite.db?mode=0646'
-$config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail';
+$config['db_dsnw'] = ''sqlite:///roundcubemail/db/sqlite.db?mode=0660';
// The mail host chosen to perform the log-in.
// Leave blank to show a textbox at login, give a list of hosts