public function accept()
{
// The resource is to be ignored
if (strncmp($this->current()->getFilename(), '.', 1) === 0) {
return false;
}
$strRelpath = str_replace(TL_ROOT . '/', '', $this->current()->getPathname());
// The resource is an exempt folder
if (in_array($strRelpath, $this->arrExempt)) {
return false;
}
// The resource is accepted
return true;
}