Browse Source

added normalize to OS before using copy under win

Matthew Vale 9 years ago
parent
commit
c5d609f219
1 changed files with 2 additions and 0 deletions
  1. 2 0
      core/install/resources/classes/install_switch.php

+ 2 - 0
core/install/resources/classes/install_switch.php

@@ -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 {