Added some error_log.

This commit is contained in:
Joao Alves 2021-03-24 23:12:25 +00:00
parent 5334f01d4b
commit 1981cf9eaa
1 changed files with 2 additions and 1 deletions

View File

@ -2312,6 +2312,7 @@ function fm_rcopy($path, $dest, $upd = true, $force = true)
} elseif (is_file($path)) {
return fm_copy($path, $dest, $upd);
}
error_log("'{$path}' is not a file or a folder.");
return false;
}
@ -2333,7 +2334,7 @@ function fm_mkdir($dir, $force)
}
return mkdir($dir, 0777, true);
}
pinentry
/**
* Safely copy file
* @param string $f1