Add an additional = to fix the syntax.
This commit is contained in:
parent
ff1993cda9
commit
ba48d681b2
|
|
@ -126,7 +126,7 @@ if ($domains_processed == 1) {
|
||||||
$tmp .= " database[\"path\"] = \"".$db_path."\";\n";
|
$tmp .= " database[\"path\"] = \"".$db_path."\";\n";
|
||||||
|
|
||||||
if ($db_type == "pgsql") {
|
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[\"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";
|
$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";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue