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

Mysqli extension supports persistent connection since PHP 5.3.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 3.1.4-RC1
    • 3.1.3
    • None
    • None

      In phpbb\db\driver\mysqli.php, the following lines:

      // Mysqli extension supports persistent connection since PHP 5.3.0
      $this->persistency = (version_compare(PHP_VERSION, '5.3.0', '>=')) ? $persistency : false;
      

      can be replaced with:

      $this->persistency = $persistency;

      in sql_connect().

            bantu Andreas Fischer [X] (Inactive)
            M.Gaetan89 M.Gaetan89 [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: