Use SQLite by default for FreeSWITCH

This commit is contained in:
FusionPBX 2022-10-26 13:52:30 -06:00 committed by GitHub
parent 3859f72c5a
commit b620b36f28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 8 deletions

View File

@ -99,14 +99,10 @@ if (!class_exists('install')) {
$conf .= "database.0.password = ".$this->database_password."\n";
$conf .= "\n";
$conf .= "#database switch settings\n";
$conf .= "database.1.type = pgsql\n";
$conf .= "database.1.host = ".$this->database_host."\n";
$conf .= "database.1.port = ".$this->database_port."\n";
$conf .= "database.1.sslmode = prefer\n";
$conf .= "database.1.name = freeswitch\n";
$conf .= "database.1.username = freeswitch\n";
$conf .= "database.1.password = ".$this->database_password."\n";
$conf .= "database.1.backend.base64 = \n";
$conf .= "database.1.type = sqlite\n";
$conf .= "database.1.path = ".$database_dir."\n";
$conf .= "database.1.name = core.db\n";
//$conf .= "database.1.backend.base64 = \n";
$conf .= "\n";
$conf .= "#general settings\n";
$conf .= "document.root = ".$document_root."\n";