Fix the permissions onv the voicemail directory creation.
This commit is contained in:
parent
c4240dac2b
commit
666d90d06c
|
|
@ -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