From 9cb0c180d8149082742242e232e728a3c119efc3 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Wed, 31 Dec 2014 23:34:17 +0000 Subject: [PATCH] Fix the sip profile path when the fusionpbx directory is inside the website root directory. --- app/sip_profiles/app_defaults.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/sip_profiles/app_defaults.php b/app/sip_profiles/app_defaults.php index 74209ff787..e16b9db339 100644 --- a/app/sip_profiles/app_defaults.php +++ b/app/sip_profiles/app_defaults.php @@ -67,7 +67,7 @@ $sip_profile_dir = '/usr/local/share/fusionpbx/resources/templates/conf/sip_profiles/*.xml'; } else { - $sip_profile_dir = $_SERVER["DOCUMENT_ROOT"].'/'.PROJECT_PATH.'resources/templates/conf/sip_profiles/*.xml'; + $sip_profile_dir = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/resources/templates/conf/sip_profiles/*.xml'; } $xml_files = glob($sip_profile_dir); foreach ($xml_files as &$xml_file) {