Skip to content

Commit 1572aca

Browse files
committed
[ticket/12586] Limit depth to 2, we require vendor/extension/ext.php
PHPBB3-12586
1 parent 488904d commit 1572aca

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

phpBB/phpbb/extension/manager.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ public function all_available()
414414
),
415415
\RecursiveIteratorIterator::SELF_FIRST
416416
);
417+
$iterator->setMaxDepth(2);
417418

418419
foreach ($iterator as $file_info)
419420
{

0 commit comments

Comments
 (0)