[Vtigercrm-commits] [vtiger-commits] r4079 - in /vtigercrm/branches/4.2: index.php install/4createConfigFile.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Mar 8 10:37:38 EST 2006
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);
}
More information about the vtigercrm-commits
mailing list