recursive_copy function use cp -R if it exists

This commit is contained in:
Mark Crane
2014-05-16 05:14:44 +00:00
parent 8de0d2a08f
commit 8e53eb047b
2 changed files with 30 additions and 28 deletions
-2
View File
@@ -1279,8 +1279,6 @@ if ($_POST["install_step"] == "3" && count($_POST) > 0 && strlen($_POST["persist
$install->switch_conf_dir = $switch_conf_dir;
$install->switch_scripts_dir = $switch_scripts_dir;
$install->switch_sounds_dir = $switch_sounds_dir;
$install->recursive_delete($switch_conf_dir);
clearstatcache();
$install->copy_conf();
$install->copy();