changed to xcopy for windows

This commit is contained in:
Matthew Vale 2015-12-01 17:34:04 +00:00
parent 4f58c9315a
commit d4fa22dbec
1 changed files with 1 additions and 1 deletions

View File

@ -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);