mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
- small bug
git-svn-id: file:///svn/phpbb/trunk@7072 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
bca8900db4
commit
8494211a12
1 changed files with 10 additions and 0 deletions
|
@ -372,6 +372,16 @@ switch ($db->sql_layer)
|
|||
break;
|
||||
|
||||
case 'mysql4':
|
||||
if (version_compare($db->mysql_version, '4.1.3', '>='))
|
||||
{
|
||||
$map_dbms = 'mysql_41';
|
||||
}
|
||||
else
|
||||
{
|
||||
$map_dbms = 'mysql_40';
|
||||
}
|
||||
break;
|
||||
|
||||
case 'mysqli':
|
||||
$map_dbms = 'mysql_41';
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue