version_compare fix for mysql4 with phpBB 3.0.3
This commit is contained in:
@@ -170,7 +170,7 @@ if( $user->data['is_registered'] && $auth->acl_get('a_') )
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'mysql4':
|
case 'mysql4':
|
||||||
if (version_compare($db->mysql_version, '4.1.3', '>='))
|
if (version_compare($db->sql_server_info(true), '4.1.3', '>='))
|
||||||
{
|
{
|
||||||
$db_schema = 'mysql_41';
|
$db_schema = 'mysql_41';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user