changed to xcopy for windows
This commit is contained in:
parent
4f58c9315a
commit
d4fa22dbec
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue