aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch_dev/v_profile_edit.tmp
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-08-09 02:12:29 -0600
committermcrane <mctch@yahoo.com>2009-08-09 02:13:29 -0600
commit44f44e817107347cb73bc74a92c60e1a6fc63014 (patch)
treeee0e5e45769516e5e679e192880d8bd551df0817 /config/freeswitch_dev/v_profile_edit.tmp
parentd7d26e97b3928fb7e98cbf44dcbf4ef3523dbd19 (diff)
downloadpfsense-packages-44f44e817107347cb73bc74a92c60e1a6fc63014.tar.gz
pfsense-packages-44f44e817107347cb73bc74a92c60e1a6fc63014.tar.bz2
pfsense-packages-44f44e817107347cb73bc74a92c60e1a6fc63014.zip
FreeSWITCH dev package replace the rest of the hard coded paths, update wording, fix labels on a few pages, fix wav and mp3 download and play tools.
Diffstat (limited to 'config/freeswitch_dev/v_profile_edit.tmp')
-rw-r--r--config/freeswitch_dev/v_profile_edit.tmp12
1 files changed, 8 insertions, 4 deletions
diff --git a/config/freeswitch_dev/v_profile_edit.tmp b/config/freeswitch_dev/v_profile_edit.tmp
index 23e4dd7b..f8f187c2 100644
--- a/config/freeswitch_dev/v_profile_edit.tmp
+++ b/config/freeswitch_dev/v_profile_edit.tmp
@@ -32,8 +32,8 @@ require("/usr/local/pkg/v_config.inc");
//$a_extensions = &$config['installedpackages']['freeswitchprofiles']['config'];
-$fd = fopen("/usr/local/freeswitch/conf/sip_profiles/".$_GET['f'], "r");
-$content = fread($fd, filesize("/usr/local/freeswitch/conf/sip_profiles/".$_GET['f']));
+$fd = fopen($v_conf_dir."/sip_profiles/".$_GET['f'], "r");
+$content = fread($fd, filesize($v_conf_dir."/sip_profiles/".$_GET['f']));
fclose($fd);
include("head.inc");
@@ -107,11 +107,15 @@ build_menu();
<table width="98%" border="0" cellpadding="6" cellspacing="0">
<tr>
- <td>/usr/local/freeswitch/conf/sip_profiles/<?php echo $_GET['f']; ?></td>
+ <td>
+ <?php
+ if ($v_path_show) {
+ echo $v_conf_dir."/sip_profiles/".$_GET['f']."</td>";
+ }
<td align='right'>
<input type="hidden" name="a" value="save" />
<?php
- echo "<input type='button' value='Restore Default' onclick=\"document.location.href='/packages/freeswitch/v_profiles.php?a=default&f=".$_GET['f']."';\" />";
+ echo "<input type='button' value='Restore Default' onclick=\"document.location.href='v_profiles.php?a=default&f=".$_GET['f']."';\" />";
?>
</td>
</tr>