Mercurial > hg > rc1
view etc/debian-db-roundcube.php @ 42:db1e51c59ddc
various small fixes from upgrades to PHP and/or hangover from fix to apt-get overwrite at beginning of the year somehow
| author | Charlie Root |
|---|---|
| date | Sun, 26 Jan 2025 13:12:28 -0500 |
| parents | ac106d4c8961 |
| children |
line wrap: on
line source
<?php include_once("/etc/roundcube/debian-db.php"); switch ($dbtype) { case "sqlite": case "sqlite3": $config['db_dsnw'] = "sqlite:///$basepath/$dbname?mode=0640"; break; default: if ($dbport != '') $dbport=":$dbport"; if ($dbserver == '') $dbserver="localhost"; $config['db_dsnw'] = "$dbtype://$dbuser:$dbpass@$dbserver$dbport/$dbname"; break; } ?>
