mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 00:37:42 +02:00
Get real dbms version instead of relying on php internal functions which only grab the local library version
git-svn-id: file:///svn/phpbb/trunk@8821 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -681,7 +681,7 @@ class install_convert extends module
|
||||
|
||||
// Thanks MySQL, for silently converting...
|
||||
case 'mysql':
|
||||
if (version_compare($src_db->mysql_version, '4.1.3', '>='))
|
||||
if (version_compare($src_db->sql_server_info(true), '4.1.3', '>='))
|
||||
{
|
||||
$convert->mysql_convert = true;
|
||||
}
|
||||
|
@@ -1378,6 +1378,10 @@ class install_install extends module
|
||||
|
||||
'UPDATE ' . $data['table_prefix'] . "forums
|
||||
SET forum_last_post_time = $current_time",
|
||||
|
||||
'UPDATE ' . $data['table_prefix'] . "config
|
||||
SET config_value = '" . $db->sql_escape($db->sql_server_info(true)) . "'
|
||||
WHERE config_name = 'dbms_version'",
|
||||
);
|
||||
|
||||
if (@extension_loaded('gd') || can_load_dll('gd'))
|
||||
|
Reference in New Issue
Block a user