mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-06 22:45:02 +02:00
[ticket/12586] Limit depth to 2, we require vendor/extension/ext.php
PHPBB3-12586
This commit is contained in:
parent
488904d0bf
commit
1572aca7b0
@ -414,6 +414,7 @@ class manager
|
|||||||
),
|
),
|
||||||
\RecursiveIteratorIterator::SELF_FIRST
|
\RecursiveIteratorIterator::SELF_FIRST
|
||||||
);
|
);
|
||||||
|
$iterator->setMaxDepth(2);
|
||||||
|
|
||||||
foreach ($iterator as $file_info)
|
foreach ($iterator as $file_info)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user