aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch_dev/v_hunt_group.tmp
diff options
context:
space:
mode:
Diffstat (limited to 'config/freeswitch_dev/v_hunt_group.tmp')
-rw-r--r--config/freeswitch_dev/v_hunt_group.tmp4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/freeswitch_dev/v_hunt_group.tmp b/config/freeswitch_dev/v_hunt_group.tmp
index fe0dbc26..6441ea12 100644
--- a/config/freeswitch_dev/v_hunt_group.tmp
+++ b/config/freeswitch_dev/v_hunt_group.tmp
@@ -38,8 +38,8 @@ $a_dialplan_include_details = &$config['installedpackages']['freeswitchdialplan
if ($_GET['act'] == "del") {
if ($_GET['type'] == 'huntgroup') {
if ($a_hunt_group[$_GET['id']]) {
- if (file_exists("/usr/local/freeswitch/scripts/huntgroup_".$_GET['huntgroupid'].".js")) {
- unlink("/usr/local/freeswitch/scripts/huntgroup_".$_GET['huntgroupid'].".js");
+ if (file_exists($v_scripts_dir."/huntgroup_".$_GET['huntgroupid'].".js")) {
+ unlink($v_scripts_dir."/huntgroup_".$_GET['huntgroupid'].".js");
}
/*
//delete dialplan include details