Fix the permissions onv the voicemail directory creation.
This commit is contained in:
parent
754ff8c891
commit
2bb479c487
|
|
@ -88,7 +88,7 @@ if ($domains_processed == 1) {
|
|||
$voicemails = $prep_statement->fetchAll(PDO::FETCH_ASSOC);
|
||||
foreach ($voicemails as $row) {
|
||||
$path = $_SESSION['switch']['voicemail']['dir'].'/default/'.$row['domain_name'].'/'.$row['voicemail_id'];
|
||||
mkdir($path, 07, true);
|
||||
mkdir($path, 0777, true);
|
||||
}
|
||||
unset ($prep_statement, $sql);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue