aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/install_install.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/install/install_install.php')
-rwxr-xr-xphpBB/install/install_install.php13
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 *