summaryrefslogtreecommitdiff
path: root/BitInstaller.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2006-02-19 20:21:55 +0000
committerLester Caine <lester@lsces.co.uk>2006-02-19 20:21:55 +0000
commitb6d2228d9d0f45538f8559f10ca71d8411074a7f (patch)
tree1dd80d7fb554f7f1c19c2f7a1e12bc29eeaa7a66 /BitInstaller.php
parent484314e9428416712222905eeff646c10124826c (diff)
downloadinstall-b6d2228d9d0f45538f8559f10ca71d8411074a7f.tar.gz
install-b6d2228d9d0f45538f8559f10ca71d8411074a7f.tar.bz2
install-b6d2228d9d0f45538f8559f10ca71d8411074a7f.zip
Apply $gDbCaseSensitivity to the installed database connection.
$gDbCaseSensitivity is being set in config_inc.php and probably needs adding to the installer as an option?
Diffstat (limited to 'BitInstaller.php')
-rw-r--r--BitInstaller.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/BitInstaller.php b/BitInstaller.php
index d468246..30a47b9 100644
--- a/BitInstaller.php
+++ b/BitInstaller.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_install/BitInstaller.php,v 1.16 2006/02/15 23:01:01 spiderr Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_install/BitInstaller.php,v 1.17 2006/02/19 20:21:55 lsces Exp $
* @package install
*/
@@ -338,6 +338,8 @@ function makeConnection($gBitDbType, $gBitDbHost, $gBitDbUser, $gBitDbPassword,
echo $gDb->ErrorMsg()."\n";
die;
}
+ global $gDbCaseSensitivity;
+ $gDb->mCaseSensitive = $gDbCaseSensitivity;
$gDb->SetFetchMode(ADODB_FETCH_ASSOC);
return $gDb;
}