diff options
| author | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2016-03-16 19:10:45 +0100 |
|---|---|---|
| committer | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2016-03-16 19:10:45 +0100 |
| commit | 04450e1faed7dea615b7621be2ecd560550204ac (patch) | |
| tree | 82c155fe024014d74b5a8d4007753ea29cd8706d /phpBB/phpbb | |
| parent | 1c61fd54d451464e1a7794f2ee602bab3f0d3a0f (diff) | |
| parent | eca4726f3c2fda312b3150b7b252a300d4603fbe (diff) | |
| download | forums-04450e1faed7dea615b7621be2ecd560550204ac.tar forums-04450e1faed7dea615b7621be2ecd560550204ac.tar.gz forums-04450e1faed7dea615b7621be2ecd560550204ac.tar.bz2 forums-04450e1faed7dea615b7621be2ecd560550204ac.tar.xz forums-04450e1faed7dea615b7621be2ecd560550204ac.zip | |
Merge branch '3.2.x'
* 3.2.x:
[ticket/14540] Adjust recursive_dot_prefix_filter_iterator for performance
Diffstat (limited to 'phpBB/phpbb')
| -rw-r--r-- | phpBB/phpbb/recursive_dot_prefix_filter_iterator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/recursive_dot_prefix_filter_iterator.php b/phpBB/phpbb/recursive_dot_prefix_filter_iterator.php index 2500ba0cf8..1446551b8b 100644 --- a/phpBB/phpbb/recursive_dot_prefix_filter_iterator.php +++ b/phpBB/phpbb/recursive_dot_prefix_filter_iterator.php @@ -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(); } } |
