aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch_dev/v_ivr.tmp
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-08-07 16:22:23 -0600
committermcrane <mctch@yahoo.com>2009-08-07 16:22:23 -0600
commitd62b5e18760e501965463b6914102eb253e0cd8a (patch)
tree2767bbcefe1640fc6f374b8983fceec48b6878be /config/freeswitch_dev/v_ivr.tmp
parent6eeac714b3bb1f54f3c763369ddc44339a99c805 (diff)
downloadpfsense-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_ivr.tmp')
-rw-r--r--config/freeswitch_dev/v_ivr.tmp14
1 files changed, 11 insertions, 3 deletions
diff --git a/config/freeswitch_dev/v_ivr.tmp b/config/freeswitch_dev/v_ivr.tmp
index 06eb4f42..5ac793a5 100644
--- a/config/freeswitch_dev/v_ivr.tmp
+++ b/config/freeswitch_dev/v_ivr.tmp
@@ -37,7 +37,7 @@ $a_ivr = &$config['installedpackages']['freeswitchivr']['config'];
if ($_GET['act'] == "del") {
if ($_GET['type'] == 'ivr') {
if ($a_ivr[$_GET['id']]) {
- unlink("/usr/local/freeswitch/scripts/ivr_".$_GET['ivrid'].".js");
+ unlink($v_scripts_dir."/ivr_".$_GET['ivrid'].".js");
unset($a_ivr[$_GET['id']]);
write_config();
sync_package_v_ivr();
@@ -55,7 +55,9 @@ include("head.inc");
<?php
include("fbegin.inc");
-echo "<p class=\"pgtitle\">$v_project_label: IVR</p>\n";
+if ($v_label_show) {
+ echo "<p class=\"pgtitle\">$v_label: IVR</p>\n";
+}
?>
<div id="mainlevel">
@@ -159,7 +161,13 @@ build_menu();
<br>
<br>
-/usr/local/freeswitch/scripts/
+
+<?php
+if ($v_path_show) {
+ echo $v_scripts_dir."\n";
+}
+?>
+
<br>
<br>
<br>