mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/12707] Do not try to load 3.1 DBMS driver name as 3.0 driver.
This commit is contained in:
commit
b64837a29b
1 changed files with 1 additions and 1 deletions
|
@ -5311,7 +5311,7 @@ function phpbb_convert_30_dbms_to_31($dbms)
|
|||
// true for mysqli class.
|
||||
// However, per the docblock any valid 3.1 driver name should be
|
||||
// recognized by this function, and have priority over 3.0 dbms.
|
||||
if (class_exists('phpbb\db\driver\\' . $dbms))
|
||||
if (strpos($dbms, 'phpbb\db\driver') === false && class_exists('phpbb\db\driver\\' . $dbms))
|
||||
{
|
||||
return 'phpbb\db\driver\\' . $dbms;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue