mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-07-22 04:48:45 +02:00
Ignore all files with .
This commit is contained in:
parent
c53a7d8d7d
commit
a43f365012
1 changed files with 2 additions and 2 deletions
|
@ -182,7 +182,7 @@ class Console extends \descartes\InternalController
|
|||
foreach (scandir(PWD_RECEIVEDS) as $dir)
|
||||
{
|
||||
//Si le fichier est un fichier système, on passe à l'itération suivante
|
||||
if ('.' === $dir || '..' === $dir || '.tokeep' === $dir)
|
||||
if (mb_substr($dir, 0, 1) == '.')
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue