1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-04 05:25:01 +02:00

Merge branch '3.1.x' into 3.2.x

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

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();
}
}