diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-04-28 23:10:50 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-04-28 23:11:40 +0200 |
commit | 8d9fb27edc01522bffd8cf83826f97d92903136f (patch) | |
tree | 2eacbd4a55fea5ed3a103039485218c4080a6946 /phpBB | |
parent | f57df8e12eab8cc75739bb6bc89fd09337774b93 (diff) | |
download | forums-8d9fb27edc01522bffd8cf83826f97d92903136f.tar forums-8d9fb27edc01522bffd8cf83826f97d92903136f.tar.gz forums-8d9fb27edc01522bffd8cf83826f97d92903136f.tar.bz2 forums-8d9fb27edc01522bffd8cf83826f97d92903136f.tar.xz forums-8d9fb27edc01522bffd8cf83826f97d92903136f.zip |
[ticket/12273] Do not look in extensions docs/ and tests/ directory
PHPBB3-12273
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/phpbb/event/recursive_event_filter_iterator.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/phpbb/event/recursive_event_filter_iterator.php b/phpBB/phpbb/event/recursive_event_filter_iterator.php index 970c4bbd04..ef2f2ec0ed 100644 --- a/phpBB/phpbb/event/recursive_event_filter_iterator.php +++ b/phpBB/phpbb/event/recursive_event_filter_iterator.php @@ -55,6 +55,7 @@ class recursive_event_filter_iterator extends \RecursiveFilterIterator && $filename[0] !== '.' && strpos($relative_path, $this->root_path . 'cache/') !== 0 && strpos($relative_path, $this->root_path . 'develop/') !== 0 + && strpos($relative_path, $this->root_path . 'docs/') !== 0 && strpos($relative_path, $this->root_path . 'ext/') !== 0 && strpos($relative_path, $this->root_path . 'files/') !== 0 && strpos($relative_path, $this->root_path . 'includes/utf/') !== 0 @@ -62,6 +63,7 @@ class recursive_event_filter_iterator extends \RecursiveFilterIterator && strpos($relative_path, $this->root_path . 'phpbb/db/migration/data/') !== 0 && strpos($relative_path, $this->root_path . 'phpbb/event/') !== 0 && strpos($relative_path, $this->root_path . 'store/') !== 0 + && strpos($relative_path, $this->root_path . 'tests/') !== 0 && strpos($relative_path, $this->root_path . 'vendor/') !== 0 ; } |