Replace event_socket_mkdir with php mkdir. (#6170)

This commit is contained in:
FusionPBX
2021-12-02 19:03:55 -07:00
committed by GitHub
parent a5e249db02
commit dd106a6871
11 changed files with 34 additions and 24 deletions

View File

@@ -122,7 +122,7 @@
//make sure the destination directory exists
if (!is_dir($_SESSION['switch']['recordings']['dir'].'/'.$_SESSION['domain_name'])) {
event_socket_mkdir($_SESSION['switch']['recordings']['dir'].'/'.$_SESSION['domain_name']);
mkdir($_SESSION['switch']['recordings']['dir'].'/'.$_SESSION['domain_name'], 0770, true);
}
//move the uploaded files