Music on hold need recursive true because its creating the directory and another one with the sample rate.

This commit is contained in:
FusionPBX 2021-12-20 15:05:11 -07:00 committed by GitHub
parent 6b85733e5d
commit c3ebda9378
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@
//check target folder, move uploaded file
if (!is_dir($stream_path)) {
mkdir($stream_path, 0770, false);
mkdir($stream_path, 0770, true);
}
if (is_dir($stream_path)) {
if (copy($stream_file_name_temp, $stream_path.'/'.$stream_file_name)) {