[Vtigercrm-commits] [vtiger-commits] r4176 - in /vtigercrm/trunk: ./ include/database/ install/

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Mar 14 08:14:20 EST 2006


Author: saraj
Date: Tue Mar 14 06:14:07 2006
New Revision: 4176

Log:
Modifications made for multi-package support

Added:
    vtigercrm/trunk/config.db.php
    vtigercrm/trunk/config.inc.php
    vtigercrm/trunk/config.template.php
    vtigercrm/trunk/install/5createTables.inc.php
Modified:
    vtigercrm/trunk/include/database/PearDatabase.php
    vtigercrm/trunk/index.php   (contents, props changed)
    vtigercrm/trunk/install/2setConfig.php
    vtigercrm/trunk/install/3confirmConfig.php
    vtigercrm/trunk/install/4createConfigFile.php
    vtigercrm/trunk/install/5createTables.php

Modified: vtigercrm/trunk/include/database/PearDatabase.php
==============================================================================
--- vtigercrm/trunk/include/database/PearDatabase.php (original)
+++ vtigercrm/trunk/include/database/PearDatabase.php Tue Mar 14 06:14:07 2006
@@ -701,9 +701,9 @@
 		global $dbconfig, $dbconfigoption;
 		$this->disconnect();
 		$this->setDatabaseType($dbconfig['db_type']);
-		$this->setUserName($dbconfig['db_user_name']);
+		$this->setUserName($dbconfig['db_username']);
 		$this->setUserPassword($dbconfig['db_password']);
-		$this->setDatabaseHost( $dbconfig['db_host_name']);
+		$this->setDatabaseHost( $dbconfig['db_hostname']);
 		$this->setDatabaseName($dbconfig['db_name']);
 		$this->dbOptions = $dbconfigoption;
 		$this->enableSQLlog = ($dbconfig['log_sql'] == true);
@@ -734,9 +734,9 @@
         {
             $this->disconnect();
             $this->setDatabaseType($dbconfig['db_type']);
-            $this->setUserName($dbconfig['db_user_name']);
+            $this->setUserName($dbconfig['db_username']);
             $this->setUserPassword($dbconfig['db_password']);
-            $this->setDatabaseHost( $dbconfig['db_host_name']);
+            $this->setDatabaseHost( $dbconfig['db_hostname']);
             $this->setDatabaseName($dbconfig['db_name']);
             $this->dbOptions = $dbconfigoption;
 	    if($dbconfig['log_sql'])

Modified: vtigercrm/trunk/index.php
==============================================================================
Binary files - no diff available.

Modified: vtigercrm/trunk/install/2setConfig.php
==============================================================================
Binary files - no diff available.

Modified: vtigercrm/trunk/install/3confirmConfig.php
==============================================================================
Binary files - no diff available.

Modified: vtigercrm/trunk/install/4createConfigFile.php
==============================================================================
Binary files - no diff available.

Modified: vtigercrm/trunk/install/5createTables.php
==============================================================================
Binary files - no diff available.





More information about the vtigercrm-commits mailing list