Replace event_socket_mkdir with php mkdir. (#6170)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user