Skip to content
Snippets Groups Projects
Commit d63af29f authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

15H23 hotfix

parent 96b51b54
Branches
Tags
No related merge requests found
......@@ -267,7 +267,7 @@ function recursive_copy_if_different($src,$dst) {
while(( $file = readdir($dir)) ) {
if (( $file != '.' ) && ( $file != '..' )) {
if ( is_dir($src . '/' . $file) ) {
recursive_copy($src .'/'. $file, $dst .'/'. $file);
recursive_copy_if_different($src .'/'. $file, $dst .'/'. $file);
} else {
if(file_exists($dst .'/'. $file)){
if(hash_file('md5', $dst .'/'. $file)!=hash_file('md5', $src .'/'. $file)){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment