diff options
| author | David M <davidmj@users.sourceforge.net> | 2006-10-01 08:48:32 +0000 |
|---|---|---|
| committer | David M <davidmj@users.sourceforge.net> | 2006-10-01 08:48:32 +0000 |
| commit | bc15445b58403c92ebca9e23ef3d9a59fbdccc92 (patch) | |
| tree | 46880b44be1949f01ada2f29e7f3f42ab4123c1b /phpBB/install/install_install.php | |
| parent | bc770de9b93973a359a46ef39838e89f18e685ae (diff) | |
| download | forums-bc15445b58403c92ebca9e23ef3d9a59fbdccc92.tar forums-bc15445b58403c92ebca9e23ef3d9a59fbdccc92.tar.gz forums-bc15445b58403c92ebca9e23ef3d9a59fbdccc92.tar.bz2 forums-bc15445b58403c92ebca9e23ef3d9a59fbdccc92.tar.xz forums-bc15445b58403c92ebca9e23ef3d9a59fbdccc92.zip | |
- 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
Diffstat (limited to 'phpBB/install/install_install.php')
| -rwxr-xr-x | phpBB/install/install_install.php | 13 |
1 files changed, 12 insertions, 1 deletions
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 * |
