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_recordings_edit.tmp | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
(limited to 'config/freeswitch_dev/v_recordings_edit.tmp')
diff --git a/config/freeswitch_dev/v_recordings_edit.tmp b/config/freeswitch_dev/v_recordings_edit.tmp
index bdb0f3ad..f5547ba3 100644
--- a/config/freeswitch_dev/v_recordings_edit.tmp
+++ b/config/freeswitch_dev/v_recordings_edit.tmp
@@ -72,7 +72,7 @@ if ($_POST) {
//if file name is not the same then rename the file
if ($_POST['filename'] != $_POST['filename_orig']) {
- rename('/usr/local/freeswitch/recordings/'.$_POST['filename_orig'], '/usr/local/freeswitch/recordings/'.$_POST['filename']);
+ rename($v_recordings_dir.$_POST['filename_orig'], $v_recordings_dir.$_POST['filename']);
}
$a_recordings[$id] = $recordingent;
}
@@ -97,7 +97,9 @@ include("head.inc");
$v_project_labels: Recordings: Edit
\n";
+if ($v_label_show) {
+ echo "$v_label: Recordings: Edit
\n";
+}
?>
--
cgit v1.2.3