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

Unnecessary db connect - function phpbb_bootstrap_enabled_exts

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-b2
    • Fix Version/s: 3.1.0-RC2
    • Component/s: Extensions
    • Labels:
      None

      Description

      Function phpbb_bootstrap_enabled_exts() creates a unnecessary new db connection on every page hit.
      @ https://github.com/phpbb/phpbb/blob/develop-ascraeus/phpBB/includes/functions_container.php#L67
      The SQL query will also never displayed at the "sql debug" page.

      It comes from the file common.php @ "// Set up container" https://github.com/phpbb/phpbb/blob/develop-ascraeus/phpBB/common.php#L94
      before the standard db connection takes over.

      similar to ~ https://tracker.phpbb.com/browse/PHPBB3-12420

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Kostenloses-Forum Kostenloses-Forum
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: