summaryrefslogtreecommitdiff
path: root/install_packages.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2006-02-03 10:41:53 +0000
committerLester Caine <lester@lsces.co.uk>2006-02-03 10:41:53 +0000
commit2d2d37dc4d2ad75a14144fa78b4ee71ff278e7f1 (patch)
treeab629e750a46968ea13123dd772f2254b3f10343 /install_packages.php
parentc8c6242b663f0ab5d9bcf0e0545cb7732f86024c (diff)
downloadinstall-2d2d37dc4d2ad75a14144fa78b4ee71ff278e7f1.tar.gz
install-2d2d37dc4d2ad75a14144fa78b4ee71ff278e7f1.tar.bz2
install-2d2d37dc4d2ad75a14144fa78b4ee71ff278e7f1.zip
Process initial Firebird database configuration using gBitInstallDb rather than gBitInstaller which does not have an open connection
Diffstat (limited to 'install_packages.php')
-rw-r--r--install_packages.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/install_packages.php b/install_packages.php
index ab05605..6e5efef 100644
--- a/install_packages.php
+++ b/install_packages.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_install/install_packages.php,v 1.23 2006/02/01 20:35:52 spiderr Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_install/install_packages.php,v 1.24 2006/02/03 10:41:53 lsces Exp $
* @package install
* @subpackage functions
*/
@@ -59,6 +59,9 @@ if( !empty( $_REQUEST['cancel'] ) ) {
// by now $method should be populated with something
if( $gBitInstallDb->Connect( $gBitDbHost, $gBitDbUser, $gBitDbPassword, $gBitDbName ) && !empty( $method ) ) {
+ if ( $_SESSION['first_install'] && $gBitDbType == 'firebird' ) {
+ $result = $gBitInstallDb->Execute( "DECLARE EXTERNAL FUNCTION LOWER CSTRING(80) RETURNS CSTRING(80) FREE_IT ENTRY_POINT 'IB_UDF_lower' MODULE_NAME 'ib_udf'" );
+ }
$tablePrefix = $gBitInstaller->getTablePrefix();
$dict = NewDataDictionary( $gBitInstallDb, $gBitDbType );