diff options
-rw-r--r-- | config/freeswitch_dev/v_recordings.tmp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/config/freeswitch_dev/v_recordings.tmp b/config/freeswitch_dev/v_recordings.tmp index 1d0d485e..b8b58419 100644 --- a/config/freeswitch_dev/v_recordings.tmp +++ b/config/freeswitch_dev/v_recordings.tmp @@ -116,14 +116,13 @@ if (($_POST['submit'] == "Upload") && is_uploaded_file($_FILES['ulfile']['tmp_na if ($_GET['act'] == "del") { if ($_GET['type'] == 'rec') { - //if ($_GET['id']) { - echo "id: ".$_GET['id']; + if ($_GET['id']) { unlink_if_exists($v_recordings_dir."/".$_GET['filename']); unset($a_recordings[$_GET['id']]); write_config(); header("Location: v_recordings.php"); exit; - //} + } } if ($_GET['type'] == 'moh') { |