mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-03-28 11:15:43 +00:00
Added sticky GID permissions (#1615)
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
//if the extensions dir doesn't exist then create it
|
||||
if ($domains_processed == 1) {
|
||||
if (strlen($_SESSION['switch']['extensions']['dir']) > 0) {
|
||||
if (!is_dir($_SESSION['switch']['extensions']['dir'])) { mkdir($_SESSION['switch']['extensions']['dir'],0777,true); }
|
||||
if (!is_dir($_SESSION['switch']['extensions']['dir'])) { mkdir($_SESSION['switch']['extensions']['dir'],2770,true); }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user