From bc15445b58403c92ebca9e23ef3d9a59fbdccc92 Mon Sep 17 00:00:00 2001 From: David M Date: Sun, 1 Oct 2006 08:48:32 +0000 Subject: - forgot to make the same change to the ODBC driver - MySQL 3.x works now - FirebirdSQL is now on the same level as MySQL and PostgreSQL, zero hacks exist inside the core code now git-svn-id: file:///svn/phpbb/trunk@6422 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/install/install_install.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'phpBB/install/install_install.php') diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php index 74b8b52fc6..c3804c8cd1 100755 --- a/phpBB/install/install_install.php +++ b/phpBB/install/install_install.php @@ -1760,7 +1760,6 @@ class install_install extends module { $error[] = $lang['INST_ERR_DB_NO_MYSQL4']; } - break; case 'mysqli': @@ -1769,6 +1768,18 @@ class install_install extends module $error[] = $lang['INST_ERR_DB_NO_MYSQLI']; } break; + + case 'firebird': + if ($db->service_handle !== false && function_exists('ibase_server_info')) + { + $val = @ibase_server_info($db->service_handle, IBASE_SVC_SERVER_VERSION); + preg_match('#V([\d.]+)#', $val, $match); + if ($match[1] < 2) + { + $error[] = $lang['INST_ERR_DB_NO_FIREBIRD']; + } + } + break; case 'oracle': $sql = "SELECT * -- cgit v1.2.1