aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch_dev/v_recordings_edit.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_recordings_edit.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_recordings_edit.tmp')
-rw-r--r--config/freeswitch_dev/v_recordings_edit.tmp6
1 files changed, 4 insertions, 2 deletions
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");
<?php
include("fbegin.inc");
-echo "<p class=\"pgtitle\">$v_project_labels: Recordings: Edit</p>\n";
+if ($v_label_show) {
+ echo "<p class=\"pgtitle\">$v_label: Recordings: Edit</p>\n";
+}
?>
<?php if ($input_errors) print_input_errors($input_errors); ?>