mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-03-26 18:25:42 +00:00
Add recordings archive sub directory
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
//if the recordings directory doesn't exist then create it
|
||||
if (!empty($_SESSION['switch']['recordings']['dir']) && !empty($domain_name)) {
|
||||
if (!is_readable($_SESSION['switch']['recordings']['dir']."/".$domain_name)) {
|
||||
mkdir($_SESSION['switch']['recordings']['dir']."/".$domain_name, 0770, true);
|
||||
mkdir($_SESSION['switch']['recordings']['dir']."/".$domain_name."/archive", 0770, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user