mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-31 09:33:48 +00:00
Fix the cp -R
This commit is contained in:
@@ -38,7 +38,7 @@ include "root.php";
|
||||
//$option '-n' --no-clobber
|
||||
function recursive_copy($src, $dst, $option = '') {
|
||||
if (file_exists('/bin/cp')) {
|
||||
exec ('cp -R $option '.$src_dir.' '.$dst_dir);
|
||||
exec ('cp -R '.$option.' '.$src.'/* '.$dst);
|
||||
}
|
||||
else {
|
||||
$dir = opendir($src);
|
||||
|
||||
Reference in New Issue
Block a user