From 7e88b594dd5dc7e4b8255e6af9a0f39f2c5ccd02 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 19 Oct 2022 11:07:43 -0600 Subject: [PATCH] Use the database_dir variable --- core/upgrade/upgrade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/upgrade/upgrade.php b/core/upgrade/upgrade.php index e156d1c6f6..4d72011bcf 100644 --- a/core/upgrade/upgrade.php +++ b/core/upgrade/upgrade.php @@ -86,7 +86,7 @@ $conf .= "\n"; $conf .= "#database switch settings\n"; $conf .= "database.1.type = sqlite\n"; - $conf .= "database.1.path = /var/lib/freeswitch/db\n"; + $conf .= "database.1.path = ".$database_dir."\n"; $conf .= "database.1.name = core.db\n"; $conf .= "\n"; $conf .= "#general settings\n";