aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/extension
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-05-22 23:43:35 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-05-22 23:43:35 +0200
commit1572aca7b08cfb92aef36498ff2f19120864abd0 (patch)
tree4cc28d09a729a64e9e2ea67002d1831294bafc26 /phpBB/phpbb/extension
parent488904d0bfb9477950d1f555c3d0041fbb298201 (diff)
downloadforums-1572aca7b08cfb92aef36498ff2f19120864abd0.tar
forums-1572aca7b08cfb92aef36498ff2f19120864abd0.tar.gz
forums-1572aca7b08cfb92aef36498ff2f19120864abd0.tar.bz2
forums-1572aca7b08cfb92aef36498ff2f19120864abd0.tar.xz
forums-1572aca7b08cfb92aef36498ff2f19120864abd0.zip
[ticket/12586] Limit depth to 2, we require vendor/extension/ext.php
PHPBB3-12586
Diffstat (limited to 'phpBB/phpbb/extension')
-rw-r--r--phpBB/phpbb/extension/manager.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/phpbb/extension/manager.php b/phpBB/phpbb/extension/manager.php
index a18a30b7ff..604f680af2 100644
--- a/phpBB/phpbb/extension/manager.php
+++ b/phpBB/phpbb/extension/manager.php
@@ -414,6 +414,7 @@ class manager
),
\RecursiveIteratorIterator::SELF_FIRST
);
+ $iterator->setMaxDepth(2);
foreach ($iterator as $file_info)
{