diff options
author | mcrane <mctch@yahoo.com> | 2009-08-07 16:22:23 -0600 |
---|---|---|
committer | mcrane <mctch@yahoo.com> | 2009-08-07 16:22:23 -0600 |
commit | d62b5e18760e501965463b6914102eb253e0cd8a (patch) | |
tree | 2767bbcefe1640fc6f374b8983fceec48b6878be /config/freeswitch_dev/v_dialplan_includes.tmp | |
parent | 6eeac714b3bb1f54f3c763369ddc44339a99c805 (diff) | |
download | pfsense-packages-d62b5e18760e501965463b6914102eb253e0cd8a.tar.gz pfsense-packages-d62b5e18760e501965463b6914102eb253e0cd8a.tar.bz2 pfsense-packages-d62b5e18760e501965463b6914102eb253e0cd8a.zip |
FreeSWITCH dev dump the majority of hard coded paths and add a few preferences.
Diffstat (limited to 'config/freeswitch_dev/v_dialplan_includes.tmp')
-rw-r--r-- | config/freeswitch_dev/v_dialplan_includes.tmp | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/config/freeswitch_dev/v_dialplan_includes.tmp b/config/freeswitch_dev/v_dialplan_includes.tmp index 3fd9e15e..6ce4a3f6 100644 --- a/config/freeswitch_dev/v_dialplan_includes.tmp +++ b/config/freeswitch_dev/v_dialplan_includes.tmp @@ -82,8 +82,8 @@ if ($_GET['act'] == "del") { } //if the dialplan include xml file exists then delete it - if (file_exists("/usr/local/freeswitch/conf/dialplan/default/".$dialplanincludefilename)) { - unlink("/usr/local/freeswitch/conf/dialplan/default/".$dialplanincludefilename); + if (file_exists($v_conf_dir."/dialplan/default/".$dialplanincludefilename)) { + unlink($v_conf_dir."/dialplan/default/".$dialplanincludefilename); } unset($dialplanincludefilename); @@ -104,7 +104,9 @@ include("head.inc"); <?php include("fbegin.inc"); -echo "<p class=\"pgtitle\">$v_project_label: Dialplan</p>\n"; +if ($v_label_show) { + echo "<p class=\"pgtitle\">$v_label: Dialplan</p>\n"; +} ?> <div id="mainlevel"> @@ -258,7 +260,12 @@ build_menu(); </form> -/usr/local/freeswitch/conf/dialplan/default/ +<?php +if ($v_path_show) { + echo $v_conf_dir."/dialplan/default/\n"; +} +?> + <br> <br> <br> |