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

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)) {