Ignore all files with .
This commit is contained in:
parent
c53a7d8d7d
commit
a43f365012
|
@ -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…
Reference in New Issue