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_gateways.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_gateways.tmp')
-rw-r--r-- | config/freeswitch_dev/v_gateways.tmp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/config/freeswitch_dev/v_gateways.tmp b/config/freeswitch_dev/v_gateways.tmp index fb01feae..3ccac677 100644 --- a/config/freeswitch_dev/v_gateways.tmp +++ b/config/freeswitch_dev/v_gateways.tmp @@ -36,7 +36,7 @@ $a_gateways = &$config['installedpackages']['freeswitchgateways']['config']; if ($_GET['act'] == "del") { if ($_GET['type'] == 'gateways') { if ($a_gateways[$_GET['id']]) { - $tmp_file_name = "/usr/local/freeswitch/conf/sip_profiles/external/".$_GET['gateway'].".xml"; + $tmp_file_name = $v_conf_dir."/sip_profiles/external/".$_GET['gateway'].".xml"; if (file_exists($tmp_file_name)) { unlink($tmp_file_name); } @@ -57,7 +57,9 @@ include("head.inc"); <?php include("fbegin.inc"); -echo "<p class=\"pgtitle\">$v_project_label: Gateways</p>\n"; +if ($v_label_show) { + echo "<p class=\"pgtitle\">$v_label: Gateways</p>\n"; +} ?> <div id="mainlevel"> @@ -191,8 +193,12 @@ if ($config_change == 1) { </form> +<?php +if ($v_path_show) { + echo $v_conf_dir."/sip_profiles/external/\n"; +} +?> -/usr/local/freeswitch/conf/sip_profiles/external/ <br> <br> <br> |