From d62b5e18760e501965463b6914102eb253e0cd8a Mon Sep 17 00:00:00 2001
From: mcrane
Date: Fri, 7 Aug 2009 16:22:23 -0600
Subject: FreeSWITCH dev dump the majority of hard coded paths and add a few
preferences.
---
config/freeswitch_dev/v_ivr.tmp | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
(limited to 'config/freeswitch_dev/v_ivr.tmp')
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");
$v_project_label: IVR
\n";
+if ($v_label_show) {
+ echo "$v_label: IVR
\n";
+}
?>
@@ -159,7 +161,13 @@ build_menu();
-/usr/local/freeswitch/scripts/
+
+
+
--
cgit v1.2.3