From 4a995a8b98dc0e309d6c904365cd8fc6828c1e21 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Mon, 7 Apr 2014 14:41:15 +0000 Subject: [PATCH] On the file system check for a more appropriate directory to make sure the application is installed. --- resources/switch.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/switch.php b/resources/switch.php index 964f8465d7..e377177bda 100644 --- a/resources/switch.php +++ b/resources/switch.php @@ -799,7 +799,7 @@ function switch_select_destination($select_type, $select_label, $select_name, $s } //list fifo queues - if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/app/dialplans/app_config.php")) { + if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/app/fifo/app_config.php")) { if ($select_type == "dialplan" || $select_type == "ivr") { $sql = "select * from v_dialplan_details "; $sql .= "where domain_uuid = '$domain_uuid' "; @@ -1313,7 +1313,7 @@ function switch_select_destination($select_type, $select_label, $select_name, $s } //list time conditions - if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/app/dialplans/app_config.php")) { + if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/app/time_conditions/app_config.php")) { if ($select_type == "dialplan" || $select_type == "ivr") { $sql = "select * from v_dialplan_details "; $sql .= "where domain_uuid = '$domain_uuid' ";