aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch/freeswitch_public_includes.tmp
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-05-14 23:47:20 -0600
committermcrane <mctch@yahoo.com>2009-05-14 23:48:34 -0600
commit0e432ea1d03bc9e0093498d887a03ac89f3e6baa (patch)
treec521558c071334afe5e9ec20af4a65d9d61edac2 /config/freeswitch/freeswitch_public_includes.tmp
parentc78b004d166bb8ead6c1d9e5984f55f0fd97f866 (diff)
downloadpfsense-packages-0e432ea1d03bc9e0093498d887a03ac89f3e6baa.tar.gz
pfsense-packages-0e432ea1d03bc9e0093498d887a03ac89f3e6baa.tar.bz2
pfsense-packages-0e432ea1d03bc9e0093498d887a03ac89f3e6baa.zip
FreeSWITCH package make sure xml config file are deleted when they are deleted in the GUI
Diffstat (limited to 'config/freeswitch/freeswitch_public_includes.tmp')
-rw-r--r--config/freeswitch/freeswitch_public_includes.tmp4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/freeswitch/freeswitch_public_includes.tmp b/config/freeswitch/freeswitch_public_includes.tmp
index 5b32e710..51a535d4 100644
--- a/config/freeswitch/freeswitch_public_includes.tmp
+++ b/config/freeswitch/freeswitch_public_includes.tmp
@@ -87,8 +87,8 @@ if ($_GET['act'] == "del") {
}
//if the public include xml file exists then delete it
- if (file_exists("/usr/local/freeswitch/conf/public/default/".$publicincludefilename)) {
- unlink("/usr/local/freeswitch/conf/public/default/".$publicincludefilename);
+ if (file_exists("/usr/local/freeswitch/conf/dialplan/public/".$publicincludefilename)) {
+ unlink("/usr/local/freeswitch/conf/dialplan/public/".$publicincludefilename);
}
unset($publicincludefilename);