1
0
Fork 0
mirror of https://github.com/24eme/signaturepdf synced 2026-03-14 13:55:44 +01:00

hard unlink fix

This commit is contained in:
Gabriel Poma 2025-07-10 12:15:46 +02:00
commit 979a8c8be7

View file

@ -71,7 +71,7 @@ class GPGCryptography
}
public static function hardUnlink($element) {
if (!$element) {
if (file_exists($element) === false) {
return;
}
if (is_dir($element)) {