mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Music on hold need recursive true because its creating the directory and another one with the sample rate.
This commit is contained in:
@@ -275,7 +275,7 @@
|
|||||||
|
|
||||||
//check target folder, move uploaded file
|
//check target folder, move uploaded file
|
||||||
if (!is_dir($stream_path)) {
|
if (!is_dir($stream_path)) {
|
||||||
mkdir($stream_path, 0770, false);
|
mkdir($stream_path, 0770, true);
|
||||||
}
|
}
|
||||||
if (is_dir($stream_path)) {
|
if (is_dir($stream_path)) {
|
||||||
if (copy($stream_file_name_temp, $stream_path.'/'.$stream_file_name)) {
|
if (copy($stream_file_name_temp, $stream_path.'/'.$stream_file_name)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user