From bac9e94152757395cff16c46e03e775248896965 Mon Sep 17 00:00:00 2001 From: lsces Date: Sun, 5 Apr 2026 10:57:31 +0100 Subject: ADOdb needs a few little changes to properly handle pdo drivers. Currently hard coded for pdo-firebird but should get the right driver from the Hostname --- includes/classes/BitDbAdodb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/classes/BitDbAdodb.php b/includes/classes/BitDbAdodb.php index 515a87d..59ef505 100755 --- a/includes/classes/BitDbAdodb.php +++ b/includes/classes/BitDbAdodb.php @@ -77,7 +77,7 @@ class BitDbAdodb extends BitDb { if( $pConnectionHash['db_type'] != 'pdo' ) { $this->mDb->Connect( $pConnectionHash['db_host'], $pConnectionHash['db_user'], $pConnectionHash['db_password'], $pConnectionHash['db_name'] ); $split = explode( ':', $gBitDbHost ); - $this->mType = 'pdo_' . $split[0]; + $this->mType = 'pdo-' . $split[0]; } else { // $dsnString = $pConnectionHash['db_type'] . ':host=localhost;dbname=' . $pConnectionHash['db_name']; $this->mDb->Connect( $pConnectionHash['db_host'], $pConnectionHash['db_user'], $pConnectionHash['db_password'] ); -- cgit v1.3