[Vtigercrm-commits] [vtiger-commits] r6804 - in /vtigercrm/branches/4.2.4: config.inc.php config.template.php install/2setConfig.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue May 30 20:23:36 EDT 2006


Author: allanbush
Date: Tue May 30 18:23:33 2006
New Revision: 6804

Log:
$host_name doesn't appear to be used anywhere, removing from configureation.  Closes #68.

Modified:
    vtigercrm/branches/4.2.4/config.inc.php
    vtigercrm/branches/4.2.4/config.template.php
    vtigercrm/branches/4.2.4/install/2setConfig.php

Modified: vtigercrm/branches/4.2.4/config.inc.php
==============================================================================
--- vtigercrm/branches/4.2.4/config.inc.php (original)
+++ vtigercrm/branches/4.2.4/config.inc.php Tue May 30 18:23:33 2006
@@ -31,7 +31,6 @@
 //$dbconfig['db_password'] = '';
 //$dbconfig['db_name'] = 'vtigercrm';
 
-//$host_name = '';
 //$site_URL = '';
 //$root_directory = '';
 

Modified: vtigercrm/branches/4.2.4/config.template.php
==============================================================================
--- vtigercrm/branches/4.2.4/config.template.php (original)
+++ vtigercrm/branches/4.2.4/config.template.php Tue May 30 18:23:33 2006
@@ -73,8 +73,6 @@
 
 // ssl default value = false
 $dbconfigoption['ssl'] = false;
-
-$host_name = $dbconfig['db_hostname'];
 
 $site_URL = '_SITE_URL_';
 

Modified: vtigercrm/branches/4.2.4/install/2setConfig.php
==============================================================================
--- vtigercrm/branches/4.2.4/install/2setConfig.php (original)
+++ vtigercrm/branches/4.2.4/install/2setConfig.php Tue May 30 18:23:33 2006
@@ -112,9 +112,6 @@
 
   !isset($_REQUEST['db_drop_tables']) ? $db_drop_tables = "0" : $db_drop_tables = $_REQUEST['db_drop_tables'];
 
-  if (isset($_REQUEST['host_name'])) $host_name = $_REQUEST['host_name'];
-    else $host_name = $hostname;
-
   if (isset($_REQUEST['site_URL'])) $site_URL = $_REQUEST['site_URL'];
     else $site_URL = $web_root;
 
@@ -150,7 +147,6 @@
   */
   !isset($_REQUEST['db_name']) ? $db_name = "vtigercrm4_2_4" : $db_name = $_REQUEST['db_name'];
   !isset($_REQUEST['db_drop_tables']) ? $db_drop_tables = "0" : $db_drop_tables = $_REQUEST['db_drop_tables'];
-  !isset($_REQUEST['host_name']) ? $host_name= $hostname : $host_name= $_REQUEST['host_name'];
   !isset($_REQUEST['site_URL']) ? $site_URL = $web_root : $site_URL = $_REQUEST['site_URL'];
   !isset($_REQUEST['root_directory']) ? $root_directory = $current_dir : $root_directory = stripslashes($_REQUEST['root_directory']);
   !isset($_REQUEST['cache_dir']) ? $cache_dir = $cache_dir : $cache_dir = stripslashes($_REQUEST['cache_dir']);





More information about the vtigercrm-commits mailing list