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
+3 -1
View File
@@ -29,7 +29,9 @@
//create the directory
if (strlen($_SESSION['switch']['extensions']['dir']) > 0) {
if (!is_dir($_SESSION['switch']['extensions']['dir'])) { event_socket_mkdir($_SESSION['switch']['extensions']['dir']); }
if (!is_dir($_SESSION['switch']['extensions']['dir'])) {
mkdir($_SESSION['switch']['extensions']['dir'], 0770, false);
}
}
//update the directory first and last names