summaryrefslogtreecommitdiff
path: root/create_config_inc.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-01-25 17:38:12 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-01-25 17:38:12 +0000
commitfff836e5830eeb37c96a683fd1389844bc7a87aa (patch)
tree7ede6871dda344a15463c1cb01d1102bc216dc5b /create_config_inc.php
parent4cadea33af2e9e34b8c95ffee05eca9f95291eca (diff)
downloadinstall-fff836e5830eeb37c96a683fd1389844bc7a87aa.tar.gz
install-fff836e5830eeb37c96a683fd1389844bc7a87aa.tar.bz2
install-fff836e5830eeb37c96a683fd1389844bc7a87aa.zip
add $gBitDbSystem to config_inc.php
Diffstat (limited to 'create_config_inc.php')
-rw-r--r--create_config_inc.php12
1 files changed, 9 insertions, 3 deletions
diff --git a/create_config_inc.php b/create_config_inc.php
index e399a70..6bfd3e0 100644
--- a/create_config_inc.php
+++ b/create_config_inc.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_install/create_config_inc.php,v 1.5 2005/08/01 18:40:30 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_install/create_config_inc.php,v 1.6 2006/01/25 17:38:12 squareing Exp $
* @package install
* @subpackage functions
*/
@@ -38,7 +38,13 @@ function create_config($gBitDbType,$gBitDbHost,$gBitDbUser,$gBitDbPassword,$gBit
// | Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
// +----------------------------------------------------------------------+
// The following line is required and should not be altered
-global \$gBitDbType, \$gBitDbHost, \$gBitDbUser, \$gBitDbPassword, \$gBitDbName, \$smarty_force_compile, \$gDebug, \$gPreScan;
+global \$gBitDbSystem, \$gBitDbType, \$gBitDbHost, \$gBitDbUser, \$gBitDbPassword, \$gBitDbName, \$smarty_force_compile, \$gDebug, \$gPreScan;
+
+
+// You can choose between different Database abstraction layers. Currently we support:
+// adodb ADODB ( this is the default setting and is bundled with bitweaver )
+// pear PEAR::DB ( when using this, you can even remove the util/adodb directory )
+\$gBitDbSystem = \"adodb\";
// bitweaver can store its data in multiple different back ends. Currently we
@@ -57,7 +63,7 @@ global \$gBitDbType, \$gBitDbHost, \$gBitDbUser, \$gBitDbPassword, \$gBitDbName,
// mysql Standard MySQL
// sqlite SQLLite
// mssql MS-SQL (experimental)
-// postgres PostgreSQL 7.x
+// postgres PostgreSQL 7.x
// oci8po Oracle (9i and newer)
// firebird FireBird
// sybase Sybase