From 897038f2d891ea6752e66a9cb9ac3b696578e0b5 Mon Sep 17 00:00:00 2001 From: Tom Gillett Date: Tue, 10 Jan 2017 15:11:09 +0000 Subject: [PATCH] Fixed bug preventing scripts from being copied properly during install process (#2296) --- core/install/resources/classes/install_fusionpbx.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/install/resources/classes/install_fusionpbx.php b/core/install/resources/classes/install_fusionpbx.php index eabce9eee4..92ac0e2e89 100644 --- a/core/install/resources/classes/install_fusionpbx.php +++ b/core/install/resources/classes/install_fusionpbx.php @@ -774,9 +774,9 @@ include "root.php"; $_SESSION["domain_uuid"] = $this->global_settings->domain_uuid(); require $this->config_php; require "resources/require.php"; - $_SESSION['event_socket_ip_address'] = $this->global_settings->event_host; - $_SESSION['event_socket_port'] = $this->global_settings->event_port; - $_SESSION['event_socket_password'] = $this->global_settings->event_password; + $_SESSION['event_socket_ip_address'] = $this->global_settings->switch_event_host(); + $_SESSION['event_socket_port'] = $this->global_settings->switch_event_port(); + $_SESSION['event_socket_password'] = $this->global_settings->switch_event_password(); //get the groups assigned to the user and then set the groups in $_SESSION["groups"] $sql = "SELECT * FROM v_group_users ";