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

Unnecessary db connect - function phpbb_bootstrap_enabled_exts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.0-RC2
    • 3.1.0-b2
    • Extensions
    • None

      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

            Unassigned Unassigned
            Kostenloses-Forum Kostenloses-Forum [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: