mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
changed to xcopy for windows
This commit is contained in:
@@ -88,7 +88,7 @@ include "root.php";
|
||||
elseif(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN'){
|
||||
$src = normalize_path_to_os($src);
|
||||
$dst = normalize_path_to_os($dst);
|
||||
exec("copy /L /Y \"$src\" \"$dst\"");
|
||||
exec("xcopy /E /Y \"$src\" \"$dst\"");
|
||||
}
|
||||
else {
|
||||
$dir = opendir($src);
|
||||
|
||||
Reference in New Issue
Block a user