[Vtigercrm-developers] [Vtigercrm-commits] [vtiger-commits] r4079 - in /vtigercrm/branches/4.2: index.php install/4createConfigFile.php

Fathi Boudra fboudra at free.fr
Wed Mar 8 07:57:30 PST 2006


why do we need this change ?
what is db_status used for ?

Le Mercredi 8 Mars 2006 16:37, vtigercrm-commits at vtiger.fosslabs.com a écrit :
> Author: saraj
> Date: Wed Mar  8 08:37:33 2006
> New Revision: 4079
>
> Log:
> changes made to point to install.php after installation
>
> Modified:
>     vtigercrm/branches/4.2/index.php
>     vtigercrm/branches/4.2/install/4createConfigFile.php
>
> Modified: vtigercrm/branches/4.2/index.php
> ===========================================================================
>=== --- vtigercrm/branches/4.2/index.php (original)
> +++ vtigercrm/branches/4.2/index.php Wed Mar  8 08:37:33 2006
> @@ -356,7 +356,7 @@
>  }
>
>  require_once('config.inc.php');
> -if (!isset($dbconfig['db_hostname'])) {
> +if (!isset($dbconfig['db_hostname']) ||
> $dbconfig['db_status']=='_DB_STAT_') { header("Location: install.php");
>    exit();
>  }
>
> Modified: vtigercrm/branches/4.2/install/4createConfigFile.php
> ===========================================================================
>=== --- vtigercrm/branches/4.2/install/4createConfigFile.php (original) +++
> vtigercrm/branches/4.2/install/4createConfigFile.php Wed Mar  8 08:37:33
> 2006 @@ -158,6 +158,7 @@
>        $buffer = str_replace( "_MAIL_SERVER_", $mail_server, $buffer);
>        $buffer = str_replace( "_MAIL_USERNAME_", $mail_server_username,
> $buffer); $buffer = str_replace( "_MAIL_PASSWORD_", $mail_server_password,
> $buffer); +      $buffer = str_replace( "_DB_STAT_", "true", $buffer);
>
>        fwrite($includeHandle, $buffer);
>      }
>
>
> _______________________________________________
> vtigercrm-commits mailing list
> vtigercrm-commits at lists.vtigercrm.com
> http://lists.vtigercrm.com/mailman/listinfo/vtigercrm-commits




More information about the vtigercrm-developers mailing list