summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2026-04-05 10:57:31 +0100
committerlsces <lester@lsces.co.uk>2026-04-05 10:57:31 +0100
commitbac9e94152757395cff16c46e03e775248896965 (patch)
treebc750d05ac944543771be879e29b5be3486e5977 /includes
parentf6e277c44862e46ab5ff3c82299216421237b927 (diff)
downloadkernel-bac9e94152757395cff16c46e03e775248896965.tar.gz
kernel-bac9e94152757395cff16c46e03e775248896965.tar.bz2
kernel-bac9e94152757395cff16c46e03e775248896965.zip
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
Diffstat (limited to 'includes')
-rwxr-xr-xincludes/classes/BitDbAdodb.php2
1 files changed, 1 insertions, 1 deletions
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'] );