Added some error_log.
This commit is contained in:
parent
5334f01d4b
commit
1981cf9eaa
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue