Ignore also .to-keep file

This commit is contained in:
Flow 2019-11-01 17:47:59 +01:00 committed by GitHub
parent e585647583
commit a0ea9caeab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -204,7 +204,7 @@
foreach (scandir(PWD_RECEIVEDS) as $dir)
{
//Si le fichier est un fichier système, on passe à l'itération suivante
if ($dir == '.' || $dir == '..' || $dir == '.tokeep')
if ($dir == '.' || $dir == '..' || $dir == '.tokeep' || $dir == '.to-keep')
{
continue;
}