Recordings: Add support for base64 Play and Download, and bi-directional conversion between base64 and local files on page load.

This commit is contained in:
Nate Jones
2015-04-23 08:41:05 +00:00
parent 704d2ebf1c
commit 3ef85d9645
3 changed files with 107 additions and 38 deletions

View File

@@ -66,7 +66,9 @@ if (strlen($id)>0) {
unset($sql);
//delete the recording
unlink($_SESSION['switch']['recordings']['dir']."/".$filename);
if (file_exists($_SESSION['switch']['recordings']['dir']."/".$filename)) {
@unlink($_SESSION['switch']['recordings']['dir']."/".$filename);
}
}
//redirect the user