After removing domain name from the default recordings dir path need to add the domain name every where the recordings directory is currently used.
This commit is contained in:
@@ -66,8 +66,8 @@ if (strlen($id)>0) {
|
||||
unset($sql);
|
||||
|
||||
//delete the recording
|
||||
if (file_exists($_SESSION['switch']['recordings']['dir']."/".$filename)) {
|
||||
@unlink($_SESSION['switch']['recordings']['dir']."/".$filename);
|
||||
if (file_exists($_SESSION['switch']['recordings']['dir']."/".$_SESSION['domain_name']."/".$filename)) {
|
||||
@unlink($_SESSION['switch']['recordings']['dir']."/".$_SESSION['domain_name']."/".$filename);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user