From fdd82e4c124ea2c28ae86b837ba629de206c22a0 Mon Sep 17 00:00:00 2001 From: Graham Eames Date: Sun, 2 Jul 2006 19:33:28 +0000 Subject: [PATCH] Force the database connection to use to avoid a couple of problems seen in internal testing git-svn-id: file:///svn/phpbb/trunk@6137 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/install/install_install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php index ecfc08031b..780301d547 100755 --- a/phpBB/install/install_install.php +++ b/phpBB/install/install_install.php @@ -1691,7 +1691,7 @@ class install_install extends module switch ($dbms) { case 'mysql4': - if (version_compare(mysql_get_server_info(), '4.0.0', '<')) + if (version_compare(mysql_get_server_info($db->db_connect_id), '4.0.0', '<')) { $error[] = $lang['INST_ERR_DB_NO_MYSQL4']; } @@ -1699,7 +1699,7 @@ class install_install extends module break; case 'mysqli': - if (version_compare(mysqli_get_server_info(), '4.1.3', '<')) + if (version_compare(mysqli_get_server_info($db->db_connect_id), '4.1.3', '<')) { $error[] = $lang['INST_ERR_DB_NO_MYSQLI']; }