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:
commit
eca4726f3c
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user