Add an additional = to fix the syntax.

This commit is contained in:
Mark Crane
2013-07-29 23:18:42 +00:00
parent ff1993cda9
commit ba48d681b2

View File

@@ -126,7 +126,7 @@ if ($domains_processed == 1) {
$tmp .= " database[\"path\"] = \"".$db_path."\";\n";
if ($db_type == "pgsql") {
if ($db_host = "localhost") { $db_host = "127.0.0.1"; }
if ($db_host == "localhost") { $db_host = "127.0.0.1"; }
$tmp .= " database[\"system\"] = \"pgsql://hostaddr=".$db_host." port=".$db_port." dbname=".$db_name." user=".$db_username." password=".$db_password." options='-c client_min_messages=NOTICE' application_name='".$db_name."'\";\n";
$tmp .= " database[\"switch\"] = \"pgsql://hostaddr=".$db_host." port=".$db_port." dbname=freeswitch user=".$db_username." password=".$db_password." options='-c client_min_messages=NOTICE' application_name='freeswitch'\";\n";
}