Server : Apache System : Linux webd348.cluster026.gra.hosting.ovh.net 5.15.148-ovh-vps-grsec-zfs-classid #1 SMP Thu Feb 8 09:41:04 UTC 2024 x86_64 User : hednacluml ( 122243) PHP Version : 8.3.9 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl Directory : /home/hednacluml/univers/plugins/auto/archiviste/src/ |
<?php namespace Spip\Archiver; class NoDotFilterIterator extends \FilterIterator { public function accept(): bool { return !in_array($this->current()->getFilename(), ['.', '..']); } }