added normalize to OS before using copy under win
This commit is contained in:
parent
c0382a0a47
commit
0fb8a126ff
|
|
@ -86,6 +86,8 @@ include "root.php";
|
||||||
exec ($cmd);
|
exec ($cmd);
|
||||||
}
|
}
|
||||||
elseif(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN'){
|
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'");
|
exec("copy /L '$src' '$dst'");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue