From b620b36f28f828dd9a9951b73983af667a5adb51 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 26 Oct 2022 13:52:30 -0600 Subject: [PATCH] Use SQLite by default for FreeSWITCH --- core/install/resources/classes/install.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/core/install/resources/classes/install.php b/core/install/resources/classes/install.php index 1696c2e718..a341e209b5 100644 --- a/core/install/resources/classes/install.php +++ b/core/install/resources/classes/install.php @@ -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";