Skip to content

Commit

Permalink
Suppression des fichiers caché
Browse files Browse the repository at this point in the history
  • Loading branch information
wincelau committed Jul 30, 2024
1 parent ee3b5a9 commit 55772b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/cryptography.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 55772b8

Please sign in to comment.