Fix the permissions onv the voicemail directory creation.

This commit is contained in:
markjcrane 2015-12-14 13:11:47 -07:00
parent c4240dac2b
commit 666d90d06c
1 changed files with 1 additions and 1 deletions

View File

@ -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);