mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 17:13:49 +00:00
added normalize to OS before using copy under win
This commit is contained in:
@@ -86,6 +86,8 @@ include "root.php";
|
||||
exec ($cmd);
|
||||
}
|
||||
elseif(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN'){
|
||||
$src = normalize_path_to_os($src);
|
||||
$dst = normalize_path_to_os($dst);
|
||||
exec("copy /L '$src' '$dst'");
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user