mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 09:03:49 +00:00
Fix the permissions onv the voicemail directory creation.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user