Question about code of vb_test.php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Yves R.
    vBulletin QA
    • Nov 2003
    • 3861
    • 5.6.X

    Question about code of vb_test.php

    In vb_test.php, I can see on line 54-54 this code:
    PHP Code:
                case 'mysqli':
                    return new 
    mysqli($host$user$password$dbname); 
    But you can't choose MySQLi connection for testing.

    Can you implement this please?

    Thanks in advance.

    PS: I don't know if I'm in the good section.

    vBulletin QA - vBulletin Support French - Lead Project Tools developer

    Next release? Soon(tm)
  • Boxy
    Senior Member
    • Oct 2002
    • 3139

    #2
    I'll point the devs at this thread.

    Comment

    • Scott MacVicar
      Former vBulletin Developer
      • Dec 2000
      • 13286

      #3
      It autodetects and picks the correct type.

      Line 191:
      Code:
      $db = DB::fetch_db((function_exists('mysqli_connect') ? 'mysqli' : 'mysql')
      Scott MacVicar

      My Blog | Twitter

      Comment

      • Yves R.
        vBulletin QA
        • Nov 2003
        • 3861
        • 5.6.X

        #4
        Yes, I saw that after my post

        Thank you

        vBulletin QA - vBulletin Support French - Lead Project Tools developer

        Next release? Soon(tm)

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...