Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-12586

\phpbb\extension\manager::all_available() should only locate ext files two levels deep and ignore dot-files/folders

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.0-b4
    • 3.1.0-b3
    • Extensions
    • None

      phpbb\extension\manager\all_available() and others like it use the RecursiveDirectoryIterator to search for \ext\VENDOR\ext.php (and composer.json) files, but it does so with no limit on the depth search. This can take a long time to load for some extensions that include many files.

      Possible change the code to make use of the finder instead, which might be able to restrict the depth to just /ext/VENDOR/.

            nickvergessen Joas Schilling
            rfdy rfdy [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: