diff --git a/lib/cryptography.class.php b/lib/cryptography.class.php index d344ebd..159b2e5 100644 --- a/lib/cryptography.class.php +++ b/lib/cryptography.class.php @@ -77,6 +77,9 @@ public static function hardUnlink($element) { foreach (glob($element.'/*') as $file) { self::hardUnlink($file); } + foreach (glob($element.'/.*') as $file) { + self::hardUnlink($file); + } rmdir($element); return; }