Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12586

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.1.0-b3
    • 3.1.0-b4
    • Extensions
    • None

    Description

      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/.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: