1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-23 18:11:47 +02:00

Merge branch '3.2.x'

* 3.2.x:
  [ticket/14540] Adjust recursive_dot_prefix_filter_iterator for performance
This commit is contained in:
Tristan Darricau
2016-03-16 19:10:45 +01:00

View File

@@ -25,6 +25,6 @@ class recursive_dot_prefix_filter_iterator extends \RecursiveFilterIterator
public function accept()
{
$filename = $this->current()->getFilename();
return !$this->current()->isDir() || $filename[0] !== '.';
return $filename[0] !== '.' || !$this->current()->isDir();
}
}