Mercurial > hg > rc1
comparison etc/debian-db-roundcube.php @ 38:ac106d4c8961 default tip
flip /etc/roundcube to point here
author | Charlie Root |
---|---|
date | Sat, 29 Dec 2018 05:39:53 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
37:96515de44ecf | 38:ac106d4c8961 |
---|---|
1 <?php | |
2 include_once("/etc/roundcube/debian-db.php"); | |
3 | |
4 switch ($dbtype) { | |
5 case "sqlite": | |
6 case "sqlite3": | |
7 $config['db_dsnw'] = "sqlite:///$basepath/$dbname?mode=0640"; | |
8 break; | |
9 default: | |
10 if ($dbport != '') $dbport=":$dbport"; | |
11 if ($dbserver == '') $dbserver="localhost"; | |
12 $config['db_dsnw'] = "$dbtype://$dbuser:$dbpass@$dbserver$dbport/$dbname"; | |
13 break; | |
14 } | |
15 ?> |