From 898d35ae8cbf3efde84054e60962421fa2ccef8d Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Tue, 29 Apr 2014 17:51:29 +0000 Subject: [PATCH] During the install check for /etc/freeswitch/vars.xml before using it --- resources/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/install.php b/resources/install.php index 762a39a982..678cee6325 100644 --- a/resources/install.php +++ b/resources/install.php @@ -166,7 +166,7 @@ require_once "resources/functions.php"; $switch_sip_profiles_dir = $switch_conf_dir.'/sip_profiles'; $switch_dialplan_dir = $switch_conf_dir.'/dialplan'; } - if (file_exists('/etc/freeswitch')) { + if (file_exists('/etc/freeswitch/vars.xml')) { $switch_conf_dir = '/etc/freeswitch'; $switch_extensions_dir = $switch_conf_dir.'/directory'; $switch_sip_profiles_dir = $switch_conf_dir.'/sip_profiles';