[Vtigercrm-commits] [vtiger-commits] r6004 - in /vtigercrm/branches/5.0_postgresql_integration/install: 3confirmConfig.php 4createConfigFile.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon May 15 21:23:46 EDT 2006


Author: allanbush
Date: Mon May 15 19:23:42 2006
New Revision: 6004

Log:
Fixed up some outstanding issues with the installer.  I got tired of all the repeated code in 3confirmConfig.php so I just reformated the entire thing (you can accually understand what's going on now).

Current installation problems are that help tickets aren't created with the demo data option and the create database option hasn't been tested with postgres (I couldn't bring myself to make my postgres database that insecure).

Refs #752 (kind of).

Modified:
    vtigercrm/branches/5.0_postgresql_integration/install/3confirmConfig.php
    vtigercrm/branches/5.0_postgresql_integration/install/4createConfigFile.php

Modified: vtigercrm/branches/5.0_postgresql_integration/install/3confirmConfig.php
==============================================================================
--- vtigercrm/branches/5.0_postgresql_integration/install/3confirmConfig.php (original)
+++ vtigercrm/branches/5.0_postgresql_integration/install/3confirmConfig.php Mon May 15 19:23:42 2006
@@ -35,17 +35,14 @@
 if (isset($_REQUEST['ftppassword'])) $ftppassword= $_REQUEST['ftppassword'];
 if (isset($_REQUEST['db_type'])) $db_type	= $_REQUEST['db_type'];
 
-// db_type_status - is there a db type?
-// db_exist_status - does the database exist?
-// db_server_status - does the db server connection exist?
-// db_created_status - did we create a database?
+$db_type_status = false; // is there a db type?
+$db_server_status = false; // does the db server connection exist?
+$db_creation_failed = false; // did we try to create a database and fail?
+$db_exist_status = false; // does the database exist?
+$next = false; // allow installation to continue
 
 //Checking for database connection parameters
-if($db_type == '')
-{
-	$db_type_status = false;
-}
-else
+if($db_type)
 {
 	include('adodb/adodb.inc.php');
 	$conn = &NewADOConnection($db_type);
@@ -60,7 +57,6 @@
 		}
 		if($_REQUEST['check_createdb'] == 'on')
 		{
-			$mysql_createddb_status = true;
 			$root_user = $_REQUEST['root_user'];
 			$root_password = $_REQUEST['root_password'];
 
@@ -74,15 +70,15 @@
 			}
 
 			// create the new database
+			$db_creation_failed = true;
 			$createdb_conn = &NewADOConnection($db_type);
-			$createdb_conn->Connect($db_hostname, $root_user, $root_password);
-			$query = "create database ".$db_name;
-			$createdb_conn->Execute($query);
-			$createdb_conn->Close();
-		}
-		else
-		{
-			$mysql_createddb_status = false;
+			if($createdb_conn->Connect($db_hostname, $root_user, $root_password)) {
+				$query = "create database ".$db_name;
+				if($createdb_conn->Execute($query)) {
+					$db_creation_failed = false;
+				}
+				$createdb_conn->Close();
+			}
 		}
 
 		// test the connection to the database
@@ -90,663 +86,217 @@
 		{
 			$db_exist_status = true;
 		}
-		else
-		{
-			$db_exist_status = false;
-		}
 		$conn->Close();
 	}
-	else
-	{
-		$db_server_status = false;
-	}
-}
-$conn->Connect($db_hostname, $db_username, $db_password, $db_name);
-
-if($db_type_status == true && $db_server_status == false)
-{
+}
+
+$error_msg = '';
+$error_msg_info = '';
+
+if(!$db_type_status || !$db_server_status)
+{
+	$error_msg = 'Unable to connect to database Server. Invalid mySQL Connection Parameters specified';
+	$error_msg_info = 'This may be due to the following reasons:<br>
+			-  specified database user, password, hostname, database type, or port is invalid.<BR>
+			-  specified database user does not have access to connect to the database server from the host';
+}
+elseif($db_type == 'mysql' && ($mysql_server_version < '4.1' || $mysql_server_version > '5.0.19'))
+{
+	$error_msg = 'MySQL version '.$mysql_server_version.' is not supported, kindly connect to MySQL 4.1.x or above';
+}
+elseif($db_creation_failed)
+{
+	$error_msg = 'Unable to Create Database '.$db_name;
+	$error_msg_info = 'Message: The database User "'. $root_user .'" doesn\'t have permission to Create database. Try changing the Database settings';
+}
+elseif(!$db_exist_status)
+{
+	$error_msg = 'The Database "'.$db_name.'" is not found.Try changing the Database settings';
+}
+else
+{
+	$next = true;
+}
+
 ?>
-	<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-	<HTML>
-	<HEAD>
-	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-	<title>vtiger CRM 5.0 beta Installer: Step 3</title>
-	<link rel="stylesheet" href="install/install.css" type="text/css" />
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+	<head>
+		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+		<title>vtiger CRM 5.0 beta Installer: Step 3</title>
+		<link rel="stylesheet" href="install/install.css" type="text/css" />
 	</head>
 	<body leftMargin="0" topMargin="0" marginheight="0" marginwidth="0">
 
-
-	<!-- Master table -->
-	<table border=0 cellspacing=0 cellpadding=0 width=100%>
-	<tr>
-	<td align=center>
-	<br><br>
-	<!--  Top Header -->
-	<table border="0" cellspacing="0" cellpadding="0" width="80%" style="background:url(install/images/cwTopBg.gif) repeat-x;">
-	<tr>
-	<td><img src="install/images/cwTopLeft.gif" alt="vtiger CRM" title="vtiger CRM"></td>
-	<td align=right><img src="install/images/cwTopRight.gif" alt="v5alpha4" title="v5alpha4"></td>
-	</tr>
-	</table>
-
-	<!-- 3 of 5 header -->
-	<table border="0" cellspacing="0" cellpadding="5" width="75%" class=small> 
-	<tr>	
-	<td valign=top><img src="install/images/cwIcoSystem.gif" alt="Confirm Configuration" title="Confirm Configuration"></td>
-	<td width=98% valign=top>
-	<table border=0 cellspacing=0 cellpadding=0 width=100%>
-	<tr>
-	<td><img src="install/images/cwHdrVtConfWiz.gif" alt="vtiger CRM Configuration Wizard" title="vtiger CRM Configuration Wizard"></td>
-	<td align=right><img src="install/images/cwStep3of5.gif" alt="Step 3 of 5" title="Step 3 of 5"></td>
-	</tr>
-	<tr>
-	<td colspan=2><img src="install/images/cwHdrCnfSysConf.gif" alt="Confirm Configuration" title="Confirm Configuration"></td>
-	</tr>
-	</table>
-	<hr noshade size=1>
-	</td>
-
-	</tr>
-	<tr>
-	<td></td>
-	<td valign="top" align=center>
-	<!-- ---------------------------------------------- System Configuration -- -->
-
-	<table border=0 cellspacing=0 cellpadding=10 width=90% class=small >
-	<tr>
-	<td>
-	<!-- Error Messages -->
-	<b><span style="background-color:#ff0000;padding:5px;color:#ffffff;">Unable to connect to database Server. Invalid mySQL Connection Parameters specified</span></b><br><br>
-	This may be due to the following reasons:<br>
-	-  specified database user, password, hostname, database type, or port is invalid.<BR>
-	-  specified database user does not have access to connect to the database server from the host
-
-
-	<br><br>
-	<table width="100%" cellpadding="5" border="0" style="background-color:#cccccc" cellspacing="1" class=small>
-	<tr>
-	<td colspan=2><strong>Database Configuration, as provided by you</strong></td>
-	</tr>
-	<tr>
-	<td bgcolor="#F5F5F5" width="40%">Host Name</td>
-	<td bgcolor="White" align="left" nowrap><font class="dataInput"><?php if (isset($db_hostname)) echo "$db_hostname"; ?></font></td>
-	</tr>
-	<tr>
-	<td bgcolor="#F5F5F5" width="40%">User Name</td>
-	<td bgcolor="White" align="left" nowrap><font class="dataInput"><?php if (isset($db_username)) echo "$db_username"; ?></font></td>
-	</tr>
-	<tr>
-	<td noWrap bgcolor="#F5F5F5" width="40%">Password</td>
-	<td bgcolor="White" align="left" nowrap><font class="dataInput"><?php if (isset($db_password)) echo ereg_replace('.', '*', $db_password); ?></font></td>
-	</tr>
-	<tr>
-	<td noWrap bgcolor="#F5F5F5" width="40%">Database Type</td>
-	<td bgcolor="White" align="left" nowrap><font class="dataInput"><?php if (isset($db_type)) echo "$db_type"; ?></font></td>
-	</tr>
-	<tr>
-	<td noWrap bgcolor="#F5F5F5" width="40%">Database Name</td>
-	<td bgcolor="White" align="left" nowrap> <font class="dataInput"><?php if (isset($db_name)) echo "$db_name"; ?></font></td>
-	</tr>
-	</table>
-
-	<!-- ---------------------------------------------- System Configuration -- -->
-
-	</td>
-	</tr>
-	</table>
-	<br>
-	<table border=0 cellspacing=0 cellpadding=10 width=100%>
-	<tr>
-	<td align=center>
-	<form action="install.php" method="post" name="form" id="form">
-	<input type="hidden" name="file" value="2setConfig.php">
-	<input type="hidden" class="dataInput" name="db_hostname" value="<?php if (isset($db_hostname)) echo "$db_hostname"; ?>" />
-	<input type="hidden" class="dataInput" name="db_username" value="<?php if (isset($db_username)) echo "$db_username"; ?>" />
-	<input type="hidden" class="dataInput" name="db_password" value="<?php if (isset($db_password)) echo "$db_password"; ?>" />
-	<input type="hidden" class="dataInput" name="db_name" value="<?php if (isset($db_name)) echo "$db_name"; ?>" />
-	<input type="hidden" class="dataInput" name="db_drop_tables" value="<?php if (isset($db_drop_tables)) echo "$db_drop_tables"; ?>" />
-	<input type="hidden" class="dataInput" name="site_URL" value="<?php if (isset($site_URL)) echo "$site_URL"; ?>" />
-	<input type="hidden" class="dataInput" name="root_directory" value="<?php if (isset($root_directory)) echo "$root_directory"; ?>" />
-	<input type="hidden" class="dataInput" name="admin_email" value="<?php if (isset($admin_email)) echo "$admin_email"; ?>" />
-	<input type="hidden" class="dataInput" name="admin_password" value="<?php if (isset($admin_password)) echo "$admin_password"; ?>" />
-	<input type="hidden" class="dataInput" name="cache_dir" value="<?php if (isset($cache_dir)) echo $cache_dir; ?>" />
-	<input type="hidden" class="dataInput" name="mail_server" value="<?php if (isset($maill_server)) echo $mail_server; ?>" />
-	<input type="hidden" class="dataInput" name="mail_server_username" value="<?php if (isset($maill_server_username)) echo $mail_server_username; ?>" />
-	<input type="hidden" class="dataInput" name="mail_server_password" value="<?php if (isset($maill_server_password)) echo $mail_server_password; ?>" />
-	<input type="hidden" class="dataInput" name="ftpserver" value="<?php if (isset($ftpserver)) echo "$ftpserver"; ?>" />
-	<input type="hidden" class="dataInput" name="ftpuser" value="<?php if (isset($ftpuser)) echo "$ftpuser"; ?>" />
-	<input type="hidden" class="dataInput" name="ftppassword" value="<?php if (isset($ftppassword)) echo "$ftppassword"; ?>" />
-	<input type="image" name="next" value="Change" src="install/images/cwBtnChange.gif" />
-	</form>
-	</td>
-	</tr>
-	</table>
-
-	</td>
-	</tr>
-	</table>
-	<!-- Horizontal Shade -->
-	<table border="0" cellspacing="0" cellpadding="0" width="80%" style="background:url(install/images/cwShadeBg.gif) repeat-x;">
-	<tr>
-	<td><img src="install/images/cwShadeLeft.gif"></td>
-	<td align=right><img src="install/images/cwShadeRight.gif"></td>
-	</tr>
-	</table><br><br>
-
-	<!-- 3 of 5 closes -->
-
-	</td>
-	</tr>
-	</table>
+		<!-- Master table -->
+		<table border=0 cellspacing=0 cellpadding=0 width=100%>
+			<tr>
+				<td align=center>
+					<br><br>
+					<!--  Top Header -->
+					<table border="0" cellspacing="0" cellpadding="0" width="80%" style="background:url(install/images/cwTopBg.gif) repeat-x;">
+						<tr>
+							<td><img src="install/images/cwTopLeft.gif" alt="vtiger CRM" title="vtiger CRM"></td>
+							<td align=right><img src="install/images/cwTopRight.gif" alt="v5alpha4" title="v5alpha4"></td>
+						</tr>
+					</table>
+
+					<!-- 3 of 5 header -->
+					<table border="0" cellspacing="0" cellpadding="5" width="75%" class=small>
+						<tr>
+							<td valign=top><img src="install/images/cwIcoSystem.gif" alt="Confirm Configuration" title="Confirm Configuration"></td>
+							<td width=98% valign=top>
+								<table border=0 cellspacing=0 cellpadding=0 width=100%>
+									<tr>
+										<td><img src="install/images/cwHdrVtConfWiz.gif" alt="vtiger CRM Configuration Wizard" title="vtiger CRM Configuration Wizard"></td>
+										<td align=right><img src="install/images/cwStep3of5.gif" alt="Step 3 of 5" title="Step 3 of 5"></td>
+									</tr>
+									<tr>
+										<td colspan=2><img src="install/images/cwHdrCnfSysConf.gif" alt="Confirm Configuration" title="Confirm Configuration"></td>
+									</tr>
+								</table>
+								<hr noshade size=1>
+							</td>
+
+						</tr>
+						<tr>
+							<td></td>
+							<td valign="top" align="center">
+								<?php if($error_msg) : ?>
+								<div style="background-color:#ff0000;color:#ffffff;padding:5px">
+									<b><?php echo $error_msg ?></b>
+								</div>
+								<?php if($error_msg_info) : ?>
+								<p><? echo $error_msg_info ?><p>
+								<?php endif ?>
+								<?php endif ?>
+								<table width="90%" cellpadding="5" border="0" class="small" style="background-color:#cccccc" cellspacing="1">
+									<tr>
+										<td ><strong>Database Configuration</strong></td>
+									</tr>
+									<tr bgcolor="White">
+										<td bgcolor="#F5F5F5" width="40%">Host Name</td>
+										<td align="left" nowrap> <font class="dataInput"><?php if (isset($db_hostname)) echo "$db_hostname"; ?></font></td>
+									</tr>
+									<tr bgcolor="White">
+										<td bgcolor="#F5F5F5" width="40%">User Name</td>
+										<td align="left" nowrap> <font class="dataInput"><?php if (isset($db_username)) echo "$db_username"; ?></font></td>
+									</tr>
+									<tr bgcolor="White">
+										<td bgcolor="#F5F5F5" width="40%" noWrap>Password</td>
+										<td align="left" nowrap> <font class="dataInput"><?php if (isset($db_password)) echo ereg_replace('.', '*', $db_password); ?></font></td>
+									</tr>
+									<tr bgcolor="White">
+										<td noWrap bgcolor="#F5F5F5" width="40%">Database Type</td>
+										<td align="left" nowrap> <font class="dataInput"><?php if (isset($db_type)) echo "$db_type"; ?></font></td>
+									</tr>
+									<tr bgcolor="White">
+										<td noWrap bgcolor="#F5F5F5" width="40%">Database Name</td>
+										<td align="left" nowrap> <font class="dataInput"><?php if (isset($db_name)) echo "$db_name"; ?></font></td>
+									</tr>
+								</table>
+								<table width="90%" cellpadding="5" border="0" class="small" cellspacing="1" style="background-color:#cccccc">
+									<tr>
+										<td colspan=2 ><h4>Site Configuration</h4></td>
+									</tr>
+									<tr bgcolor="White">
+										<td bgcolor="#F5F5F5" width="40%">URL</td>
+										<td align="left"> <font class="dataInput"><?php if (isset($site_URL)) echo $site_URL; ?></font></td>
+									</tr>
+									<tr bgcolor="White">
+										<td bgcolor="#F5F5F5" width="40%">Path</td>
+										<td align="left"><font class="dataInput"><?php if (isset($root_directory)) echo $root_directory; ?></font></td>
+									</tr>
+									<tr bgcolor="White">
+										<td bgcolor="#F5F5F5" width="40%">Cache Path</td>
+										<td align="left"> <font class="dataInput"><?php if (isset($cache_dir)) echo $root_directory.''.$cache_dir; ?></font></td>
+									</tr>
+									<tr bgcolor="White">
+										<td bgcolor="#F5F5F5" width="40%">Admin Password</td>
+										<td align="left"> <font class="dataInput"><?php if (isset($admin_password)) echo ereg_replace('.', '*', $admin_password); ?></font></td>
+									</tr>
+
+								</table>
+
+								<br><br>
+								<table width="90%" cellpadding="5" border="0" class="small" >
+									<tr>
+										<td align="left" valign="bottom">
+											<form action="install.php" method="post" name="form" id="form">
+												<input type="hidden" name="file" value="2setConfig.php">
+												<input type="hidden" class="dataInput" name="db_type" value="<?php if (isset($db_type)) echo "$db_type"; ?>" />
+												<input type="hidden" class="dataInput" name="db_hostname" value="<?php if (isset($db_hostname)) echo "$db_hostname"; ?>" />
+												<input type="hidden" class="dataInput" name="db_username" value="<?php if (isset($db_username)) echo "$db_username"; ?>" />
+												<input type="hidden" class="dataInput" name="db_password" value="<?php if (isset($db_password)) echo "$db_password"; ?>" />
+												<input type="hidden" class="dataInput" name="db_name" value="<?php if (isset($db_name)) echo "$db_name"; ?>" />
+												<input type="hidden" class="dataInput" name="db_drop_tables" value="<?php if (isset($db_drop_tables)) echo "$db_drop_tables"; ?>" />
+												<input type="hidden" class="dataInput" name="site_URL" value="<?php if (isset($site_URL)) echo "$site_URL"; ?>" />
+												<input type="hidden" class="dataInput" name="root_directory" value="<?php if (isset($root_directory)) echo "$root_directory"; ?>" />
+												<input type="hidden" class="dataInput" name="admin_email" value="<?php if (isset($admin_email)) echo "$admin_email"; ?>" />
+												<input type="hidden" class="dataInput" name="admin_password" value="<?php if (isset($admin_password)) echo "$admin_password"; ?>" />
+												<input type="hidden" class="dataInput" name="cache_dir" value="<?php if (isset($cache_dir)) echo $cache_dir; ?>" />
+												<input type="hidden" class="dataInput" name="mail_server" value="<?php if (isset($maill_server)) echo $mail_server; ?>" />
+												<input type="hidden" class="dataInput" name="mail_server_username" value="<?php if (isset($maill_server_username)) echo $mail_server_username; ?>" />
+												<input type="hidden" class="dataInput" name="mail_server_password" value="<?php if (isset($maill_server_password)) echo $mail_server_password; ?>" />
+												<input type="hidden" class="dataInput" name="ftpserver" value="<?php if (isset($ftpserver)) echo "$ftpserver"; ?>" />
+												<input type="hidden" class="dataInput" name="ftpuser" value="<?php if (isset($ftpuser)) echo "$ftpuser"; ?>" />
+												<input type="hidden" class="dataInput" name="ftppassword" value="<?php if (isset($ftppassword)) echo "$ftppassword"; ?>" />
+												<input type="image" name="Change" value="Change" src="install/images/cwBtnChange.gif"/>
+											</form>
+										</td>
+
+										<?php if($next) : ?>
+										<td align="right" valign="bottom">
+
+											<form action="install.php" method="post" name="form" id="form">
+												<input type="hidden" name="file" value="4createConfigFile.php">
+												<table class=small>
+													<tr>
+														<td><input type="checkbox" class="dataInput" name="db_populate" value="1"></td>
+														<td>Populate database with demo data</td>
+													</tr>
+												</table>
+												<input type="hidden" class="dataInput" name="db_type" value="<?php if (isset($db_type)) echo "$db_type"; ?>" />
+												<input type="hidden" class="dataInput" name="db_hostname" value="<?php if (isset($db_hostname)) echo "$db_hostname"; ?>" />
+												<input type="hidden" class="dataInput" name="db_username" value="<?php if (isset($db_username)) echo "$db_username"; ?>" />
+												<input type="hidden" class="dataInput" name="db_password" value="<?php if (isset($db_password)) echo "$db_password"; ?>" />
+												<input type="hidden" class="dataInput" name="db_name" value="<?php if (isset($db_name)) echo "$db_name"; ?>" />
+												<input type="hidden" class="dataInput" name="db_drop_tables" value="<?php if (isset($db_drop_tables)) echo "$db_drop_tables"; ?>" />
+												<input type="hidden" class="dataInput" name="site_URL" value="<?php if (isset($site_URL)) echo "$site_URL"; ?>" />
+												<input type="hidden" class="dataInput" name="root_directory" value="<?php if (isset($root_directory)) echo "$root_directory"; ?>" />
+												<input type="hidden" class="dataInput" name="admin_email" value="<?php if (isset($admin_email)) echo "$admin_email"; ?>" />
+												<input type="hidden" class="dataInput" name="admin_password" value="<?php if (isset($admin_password)) echo "$admin_password"; ?>" />
+												<input type="hidden" class="dataInput" name="cache_dir" value="<?php if (isset($cache_dir)) echo $cache_dir; ?>" />
+												<input type="hidden" class="dataInput" name="mail_server" value="<?php if (isset($mail_server)) echo $mail_server; ?>" />
+												<input type="hidden" class="dataInput" name="mail_server_username" value="<?php if (isset($mail_server_username)) echo $mail_server_username; ?>" />
+												<input type="hidden" class="dataInput" name="mail_server_password" value="<?php if (isset($mail_server_password)) echo $mail_server_password; ?>" />
+												<input type="hidden" class="dataInput" name="ftpserver" value="<?php if (isset($ftpserver)) echo "$ftpserver"; ?>" />
+												<input type="hidden" class="dataInput" name="ftpuser" value="<?php if (isset($ftpuser)) echo "$ftpuser"; ?>" />
+												<input type="hidden" class="dataInput" name="ftppassword" value="<?php if (isset($ftppassword)) echo "$ftppassword"; ?>" />
+												<input type="image" src="install/images/cwBtnNext.gif" name="next" value="Create" onClick="window.location=('install.php')"/>
+											</form>
+
+										</td>
+										<?php endif ?>
+									</tr>
+								</table>
+
+							</td>
+						</tr>
+					</table>
+					<!-- -->
+					<br><br>
+					<!-- Horizontal Shade -->
+					<table border="0" cellspacing="0" cellpadding="0" width="80%" style="background:url(install/images/cwShadeBg.gif) repeat-x;">
+						<tr>
+							<td><img src="install/images/cwShadeLeft.gif"></td>
+							<td align=right><img src="install/images/cwShadeRight.gif"></td>
+						</tr>
+					</table>
+				</td>
+			</tr>
+		</table>
 	<!-- Master table closes -->
-
-
-
 	</body>
-	</html>
-<?php
-}
-elseif($db_type == 'mysql' && ($mysql_server_version < '4.1' || $mysql_server_version > '5.0.19'))
-{
-?>
-	<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-	<HTML>
-	<HEAD>
-	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-	<title>vtiger CRM 5.0 beta Installer: Step 3</title>
-	<link rel="stylesheet" href="install/install.css" type="text/css" />
-	</head>
-	<body leftMargin="0" topMargin="0" marginheight="0" marginwidth="0">
-
-	<!-- Master table -->
-	<table border=0 cellspacing=0 cellpadding=0 width=100%>
-	<tr>
-	<td align=center>
-	<br><br>
-	<!--  Top Header -->
-	<table border="0" cellspacing="0" cellpadding="0" width="80%" style="background:url(install/images/cwTopBg.gif) repeat-x;">
-	<tr>
-	<td><img src="install/images/cwTopLeft.gif" alt="vtiger CRM" title="vtiger CRM"></td>
-	<td align=right><img src="install/images/cwTopRight.gif" alt="v5alpha4" title="v5alpha4"></td>
-	</tr>
-	</table>
-
-
-
-	<!-- 3 of 5 header -->
-	<table border="0" cellspacing="0" cellpadding="5" width="75%" class=small> 
-	<tr>	
-	<td valign=top><img src="install/images/cwIcoSystem.gif" alt="Confirm Configuration" title="Confirm Configuration"></td>
-	<td width=98% valign=top>
-	<table border=0 cellspacing=0 cellpadding=0 width=100%>
-	<tr>
-	<td><img src="install/images/cwHdrVtConfWiz.gif" alt="vtiger CRM Configuration Wizard" title="vtiger CRM Configuration Wizard"></td>
-	<td align=right><img src="install/images/cwStep3of5.gif" alt="Step 3 of 5" title="Step 3 of 5"></td>
-	</tr>
-	<tr>
-	<td colspan=2><img src="install/images/cwHdrCnfSysConf.gif" alt="Confirm Configuration" title="Confirm Configuration"></td>
-	</tr>
-	</table>
-	<hr noshade size=1>
-	</td>
-
-	</tr>
-	<tr>
-	<td></td>
-	<td valign="top" align=center>
-	<! ---------------------------------------------- System Configuration-->
-
-	<div style="background-color:#ff0000;color:#ffffff;padding:5px">
-	<b>MySQL version <?php echo $mysql_server_version; ?> is not supported,kindly connect to MySQL 4.1.x or above</b>
-	</div>
-	<br><br>
-	<table border=0 width=100% cellspacing=0 cellpadding=0>
-	<tr>
-	<td align=center>
-	<form action="install.php" method="post" name="form" id="form">
-	<input type="hidden" name="file" value="2setConfig.php">
-	<input type="hidden" class="dataInput" name="db_hostname" value="<?php if (isset($db_hostname)) echo "$db_hostname"; ?>" />
-	<input type="hidden" class="dataInput" name="db_username" value="<?php if (isset($db_username)) echo "$db_username"; ?>" />
-	<input type="hidden" class="dataInput" name="db_password" value="<?php if (isset($db_password)) echo "$db_password"; ?>" />
-	<input type="hidden" class="dataInput" name="db_name" value="<?php if (isset($db_name)) echo "$db_name"; ?>" />
-	<input type="hidden" class="dataInput" name="db_drop_tables" value="<?php if (isset($db_drop_tables)) echo "$db_drop_tables"; ?>" />
-	<input type="hidden" class="dataInput" name="site_URL" value="<?php if (isset($site_URL)) echo "$site_URL"; ?>" />
-	<input type="hidden" class="dataInput" name="root_directory" value="<?php if (isset($root_directory)) echo "$root_directory"; ?>" />
-	<input type="hidden" class="dataInput" name="admin_email" value="<?php if (isset($admin_email)) echo "$admin_email"; ?>" />
-	<input type="hidden" class="dataInput" name="admin_password" value="<?php if (isset($admin_password)) echo "$admin_password"; ?>" />
-	<input type="hidden" class="dataInput" name="cache_dir" value="<?php if (isset($cache_dir)) echo $cache_dir; ?>" />
-	<input type="hidden" class="dataInput" name="mail_server" value="<?php if (isset($maill_server)) echo $mail_server; ?>" />
-	<input type="hidden" class="dataInput" name="mail_server_username" value="<?php if (isset($maill_server_username)) echo $mail_server_username; ?>" />
-	<input type="hidden" class="dataInput" name="mail_server_password" value="<?php if (isset($maill_server_password)) echo $mail_server_password; ?>" />
-	<input type="hidden" class="dataInput" name="ftpserver" value="<?php if (isset($ftpserver)) echo "$ftpserver"; ?>" />
-	<input type="hidden" class="dataInput" name="ftpuser" value="<?php if (isset($ftpuser)) echo "$ftpuser"; ?>" />
-	<input type="hidden" class="dataInput" name="ftppassword" value="<?php if (isset($ftppassword)) echo "$ftppassword"; ?>" />
-	<input type="image" name="next" value="Change" src="install/images/cwBtnChange.gif"/>
-	</form>
-	</td>
-	</tr>
-	</table>
-
-
-	</td>
-	</tr>
-	</table>
-	<!-- Horizontal Shade -->
-	<br><br>
-	<table border="0" cellspacing="0" cellpadding="0" width="80%" style="background:url(install/images/cwShadeBg.gif) repeat-x;">
-	<tr>
-	<td><img src="install/images/cwShadeLeft.gif"></td>
-	<td align=right><img src="install/images/cwShadeRight.gif"></td>
-	</tr>
-	</table><br><br>
-
-
-	<!-- 3 of 5 stops -->
-
-	</td>
-	</tr>
-	</table>
-
-
-
-
-<?php
-}
-elseif($db_type_status == true && $db_server_status ==true && $mysql_createddb_status == false)
-{
-?>
-	<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-	<HTML>
-	<HEAD>
-	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-	<title>vtiger CRM 5.0 beta Installer: Step 3</title>
-	<link rel="stylesheet" href="install/install.css" type="text/css" />
-	</head>
-	<body leftMargin="0" topMargin="0" marginheight="0" marginwidth="0">
-
-	<!-- Master table -->
-	<table border=0 cellspacing=0 cellpadding=0 width=100%>
-	<tr>
-	<td align=center>
-	<br><br>
-	<!--  Top Header -->
-	<table border="0" cellspacing="0" cellpadding="0" width="80%" style="background:url(install/images/cwTopBg.gif) repeat-x;">
-	<tr>
-	<td><img src="install/images/cwTopLeft.gif" alt="vtiger CRM" title="vtiger CRM"></td>
-	<td align=right><img src="install/images/cwTopRight.gif" alt="v5alpha4" title="v5alpha4"></td>
-	</tr>
-	</table>
-
-
-
-	<!-- 3 of 5 header -->
-	<table border="0" cellspacing="0" cellpadding="5" width="75%" class=small> 
-	<tr>	
-	<td valign=top><img src="install/images/cwIcoSystem.gif" alt="Confirm Configuration" title="Confirm Configuration"></td>
-	<td width=98% valign=top>
-	<table border=0 cellspacing=0 cellpadding=0 width=100%>
-	<tr>
-	<td><img src="install/images/cwHdrVtConfWiz.gif" alt="vtiger CRM Configuration Wizard" title="vtiger CRM Configuration Wizard"></td>
-	<td align=right><img src="install/images/cwStep3of5.gif" alt="Step 3 of 5" title="Step 3 of 5"></td>
-	</tr>
-	<tr>
-	<td colspan=2><img src="install/images/cwHdrCnfSysConf.gif" alt="Confirm Configuration" title="Confirm Configuration"></td>
-	</tr>
-	</table>
-	<hr noshade size=1>
-	</td>
-
-	</tr>
-	<tr>
-	<td></td>
-	<td valign="top" align=center>
-	<! ---------------------------------------------- System Configuration-->
-
-	<div style="background-color:#ff0000;color:#ffffff;padding:5px">
-	<b>Unable to Create Database <?php echo $db_name ?></b>
-	</div>
-	<P>Message: The database User "<? echo $root_user ?>" doesn't have permission to Create database. Try changing the Database settings<P></font>
-
-	<br><br>
-	<table border=0 width=100% cellspacing=0 cellpadding=0>
-	<tr>
-	<td align=center>
-	<form action="install.php" method="post" name="form" id="form">
-	<input type="hidden" name="file" value="2setConfig.php">
-	<input type="hidden" class="dataInput" name="db_hostname" value="<?php if (isset($db_hostname)) echo "$db_hostname"; ?>" />
-	<input type="hidden" class="dataInput" name="db_username" value="<?php if (isset($db_username)) echo "$db_username"; ?>" />
-	<input type="hidden" class="dataInput" name="db_password" value="<?php if (isset($db_password)) echo "$db_password"; ?>" />
-	<input type="hidden" class="dataInput" name="db_name" value="<?php if (isset($db_name)) echo "$db_name"; ?>" />
-	<input type="hidden" class="dataInput" name="db_drop_tables" value="<?php if (isset($db_drop_tables)) echo "$db_drop_tables"; ?>" />
-	<input type="hidden" class="dataInput" name="site_URL" value="<?php if (isset($site_URL)) echo "$site_URL"; ?>" />
-	<input type="hidden" class="dataInput" name="root_directory" value="<?php if (isset($root_directory)) echo "$root_directory"; ?>" />
-	<input type="hidden" class="dataInput" name="admin_email" value="<?php if (isset($admin_email)) echo "$admin_email"; ?>" />
-	<input type="hidden" class="dataInput" name="admin_password" value="<?php if (isset($admin_password)) echo "$admin_password"; ?>" />
-	<input type="hidden" class="dataInput" name="cache_dir" value="<?php if (isset($cache_dir)) echo $cache_dir; ?>" />
-	<input type="hidden" class="dataInput" name="mail_server" value="<?php if (isset($maill_server)) echo $mail_server; ?>" />
-	<input type="hidden" class="dataInput" name="mail_server_username" value="<?php if (isset($maill_server_username)) echo $mail_server_username; ?>" />
-	<input type="hidden" class="dataInput" name="mail_server_password" value="<?php if (isset($maill_server_password)) echo $mail_server_password; ?>" />
-	<input type="hidden" class="dataInput" name="ftpserver" value="<?php if (isset($ftpserver)) echo "$ftpserver"; ?>" />
-	<input type="hidden" class="dataInput" name="ftpuser" value="<?php if (isset($ftpuser)) echo "$ftpuser"; ?>" />
-	<input type="hidden" class="dataInput" name="ftppassword" value="<?php if (isset($ftppassword)) echo "$ftppassword"; ?>" />
-	<input type="image" name="next" value="Change" src="install/images/cwBtnChange.gif"/>
-	</form>
-	</td>
-	</tr>
-	</table>
-
-
-	</td>
-	</tr>
-	</table>
-	<!-- Horizontal Shade -->
-	<br><br>
-	<table border="0" cellspacing="0" cellpadding="0" width="80%" style="background:url(install/images/cwShadeBg.gif) repeat-x;">
-	<tr>
-	<td><img src="install/images/cwShadeLeft.gif"></td>
-	<td align=right><img src="install/images/cwShadeRight.gif"></td>
-	</tr>
-	</table><br><br>
-
-
-	<!-- 3 of 5 stops -->
-
-	</td>
-	</tr>
-	</table>
-
-
-
-
-<?php
-}
-elseif($db_type_status == true && $db_server_status ==true && $db_exist_status == false)
-{
-?>
-	<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-	<HTML>
-	<HEAD>
-	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-	<title>vtiger CRM 5.0 beta Installer: Step 3</title>
-	<link rel="stylesheet" href="install/install.css" type="text/css" />
-	</head>
-	<body leftMargin="0" topMargin="0" marginheight="0" marginwidth="0">
-
-	<!-- Master table -->
-	<table border=0 cellspacing=0 cellpadding=0 width=100%>
-	<tr>
-	<td align=center>
-	<br><br>
-	<!--  Top Header -->
-	<table border="0" cellspacing="0" cellpadding="0" width="80%" style="background:url(install/images/cwTopBg.gif) repeat-x;">
-	<tr>
-	<td><img src="install/images/cwTopLeft.gif" alt="vtiger CRM" title="vtiger CRM"></td>
-	<td align=right><img src="install/images/cwTopRight.gif" alt="v5alpha4" title="v5alpha4"></td>
-	</tr>
-	</table>
-
-
-
-	<!-- 3 of 5 header -->
-	<table border="0" cellspacing="0" cellpadding="5" width="75%" class=small> 
-	<tr>	
-	<td valign=top><img src="install/images/cwIcoSystem.gif" alt="Confirm Configuration" title="Confirm Configuration"></td>
-	<td width=98% valign=top>
-	<table border=0 cellspacing=0 cellpadding=0 width=100%>
-	<tr>
-	<td><img src="install/images/cwHdrVtConfWiz.gif" alt="vtiger CRM Configuration Wizard" title="vtiger CRM Configuration Wizard"></td>
-	<td align=right><img src="install/images/cwStep3of5.gif" alt="Step 3 of 5" title="Step 3 of 5"></td>
-	</tr>
-	<tr>
-	<td colspan=2><img src="install/images/cwHdrCnfSysConf.gif" alt="Confirm Configuration" title="Confirm Configuration"></td>
-	</tr>
-	</table>
-	<hr noshade size=1>
-	</td>
-
-	</tr>
-	<tr>
-	<td></td>
-	<td valign="top" align=center>
-	<! ---------------------------------------------- System Configuration-->
-
-	<div style="background-color:#ff0000;color:#ffffff;padding:5px">
-	<b>The Database "<?php echo $db_name ?>"  is not found.Try changing the Database settings</b>
-	</div>
-
-	<br><br>
-	<table border=0 width=100% cellspacing=0 cellpadding=0>
-	<tr>
-	<td align=center>
-	<form action="install.php" method="post" name="form" id="form">
-	<input type="hidden" name="file" value="2setConfig.php">
-	<input type="hidden" class="dataInput" name="db_hostname" value="<?php if (isset($db_hostname)) echo "$db_hostname"; ?>" />
-	<input type="hidden" class="dataInput" name="db_username" value="<?php if (isset($db_username)) echo "$db_username"; ?>" />
-	<input type="hidden" class="dataInput" name="db_password" value="<?php if (isset($db_password)) echo "$db_password"; ?>" />
-	<input type="hidden" class="dataInput" name="db_name" value="<?php if (isset($db_name)) echo "$db_name"; ?>" />
-	<input type="hidden" class="dataInput" name="db_drop_tables" value="<?php if (isset($db_drop_tables)) echo "$db_drop_tables"; ?>" />
-	<input type="hidden" class="dataInput" name="site_URL" value="<?php if (isset($site_URL)) echo "$site_URL"; ?>" />
-	<input type="hidden" class="dataInput" name="root_directory" value="<?php if (isset($root_directory)) echo "$root_directory"; ?>" />
-	<input type="hidden" class="dataInput" name="admin_email" value="<?php if (isset($admin_email)) echo "$admin_email"; ?>" />
-	<input type="hidden" class="dataInput" name="admin_password" value="<?php if (isset($admin_password)) echo "$admin_password"; ?>" />
-	<input type="hidden" class="dataInput" name="cache_dir" value="<?php if (isset($cache_dir)) echo $cache_dir; ?>" />
-	<input type="hidden" class="dataInput" name="mail_server" value="<?php if (isset($maill_server)) echo $mail_server; ?>" />
-	<input type="hidden" class="dataInput" name="mail_server_username" value="<?php if (isset($maill_server_username)) echo $mail_server_username; ?>" />
-	<input type="hidden" class="dataInput" name="mail_server_password" value="<?php if (isset($maill_server_password)) echo $mail_server_password; ?>" />
-	<input type="hidden" class="dataInput" name="ftpserver" value="<?php if (isset($ftpserver)) echo "$ftpserver"; ?>" />
-	<input type="hidden" class="dataInput" name="ftpuser" value="<?php if (isset($ftpuser)) echo "$ftpuser"; ?>" />
-	<input type="hidden" class="dataInput" name="ftppassword" value="<?php if (isset($ftppassword)) echo "$ftppassword"; ?>" />
-	<input type="image" name="next" value="Change" src="install/images/cwBtnChange.gif"/>
-	</form>
-	</td>
-	</tr>
-	</table>
-
-
-	</td>
-	</tr>
-	</table>
-	<!-- Horizontal Shade -->
-	<br><br>
-	<table border="0" cellspacing="0" cellpadding="0" width="80%" style="background:url(install/images/cwShadeBg.gif) repeat-x;">
-	<tr>
-	<td><img src="install/images/cwShadeLeft.gif"></td>
-	<td align=right><img src="install/images/cwShadeRight.gif"></td>
-	</tr>
-	</table><br><br>
-
-
-	<!-- 3 of 5 stops -->
-
-	</td>
-	</tr>
-	</table>
-
-
-
-
-<?php
-}
-elseif($db_type_status == true && $db_server_status == true && ($db_exist_status == true || $mysql_createddb_status == true))
-{
-?>
-	<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-	<HTML>
-	<HEAD>
-	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-	<title>vtiger CRM 5.0 beta Installer: Step 3</title>
-	<link rel="stylesheet" href="install/install.css" type="text/css" />
-	<link rel="stylesheet" href="style.css" type="text/css" />
-	</head>
-
-	<body leftMargin="0" topMargin="0" marginheight="0" marginwidth="0">
-
-	<!-- Master table -->
-	<table border=0 cellspacing=0 cellpadding=0 width=100%>
-	<tr>
-	<td align=center>
-	<br><br>
-	<!--  Top Header -->
-	<table border="0" cellspacing="0" cellpadding="0" width="80%" style="background:url(install/images/cwTopBg.gif) repeat-x;">
-	<tr>
-	<td><img src="install/images/cwTopLeft.gif" alt="vtiger CRM" title="vtiger CRM"></td>
-	<td align=right><img src="install/images/cwTopRight.gif" alt="v5alpha4" title="v5alpha4"></td>
-	</tr>
-	</table>
-
-
-
-	<!-- 3 of 5 header -->
-	<table border="0" cellspacing="0" cellpadding="5" width="75%" class=small> 
-	<tr>	
-	<td valign=top><img src="install/images/cwIcoSystem.gif" alt="Confirm Configuration" title="Confirm Configuration"></td>
-	<td width=98% valign=top>
-	<table border=0 cellspacing=0 cellpadding=0 width=100%>
-	<tr>
-	<td><img src="install/images/cwHdrVtConfWiz.gif" alt="vtiger CRM Configuration Wizard" title="vtiger CRM Configuration Wizard"></td>
-	<td align=right><img src="install/images/cwStep3of5.gif" alt="Step 3 of 5" title="Step 3 of 5"></td>
-	</tr>
-	<tr>
-	<td colspan=2><img src="install/images/cwHdrCnfSysConf.gif" alt="Confirm Configuration" title="Confirm Configuration"></td>
-	</tr>
-	</table>
-	<hr noshade size=1>
-	</td>
-
-	</tr>
-	<tr>
-	<td></td>
-	<td valign="top" align=center>
-	<!-- ---------------------------------------------- System Configuration-- -->
-
-	<table width="90%" cellpadding="5" border="0" class="small" style="background-color:#cccccc" cellspacing="1"><tbody>
-	<tr>
-	<td ><strong>Database Configuration</strong></td>
-	</tr>
-	<tr bgcolor="White">
-	<td bgcolor="#F5F5F5" width="40%">Host Name</td>
-	<td align="left" nowrap> <font class="dataInput"><?php if (isset($db_hostname)) echo "$db_hostname"; ?></font></td>
-	</tr>
-	<tr bgcolor="White">
-	<td bgcolor="#F5F5F5" width="40%">User Name</td>
-	<td align="left" nowrap> <font class="dataInput"><?php if (isset($db_username)) echo "$db_username"; ?></font></td>
-	</tr>
-	<tr bgcolor="White">
-	<td bgcolor="#F5F5F5" width="40%" noWrap>Password</td>
-	<td align="left" nowrap> <font class="dataInput"><?php if (isset($db_password)) echo ereg_replace('.', '*', $db_password); ?></font></td>
-	</tr>
-	<tr bgcolor="White">
-	<td noWrap bgcolor="#F5F5F5" width="40%">Database Type</td>
-	<td align="left" nowrap> <font class="dataInput"><?php if (isset($db_type)) echo "$db_type"; ?></font></td>
-	</tr>
-	<tr bgcolor="White">
-	<td noWrap bgcolor="#F5F5F5" width="40%">Database Name</td>
-	<td align="left" nowrap> <font class="dataInput"><?php if (isset($db_name)) echo "$db_name"; ?></font></td>
-	</tr>
-	</table><br>
-
-	<table width="90%" cellpadding="5" border="0" class="small" cellspacing="1" style="background-color:#cccccc"><tbody>
-	<tr>
-	<td colspan=2 ><h4>Site Configuration</h4></td>
-	</tr>
-	<tr bgcolor="White">
-	<td bgcolor="#F5F5F5" width="40%">URL</td>
-	<td align="left"> <font class="dataInput"><?php if (isset($site_URL)) echo $site_URL; ?></font></td>
-	</tr>
-	<tr bgcolor="White"> 
-	<td bgcolor="#F5F5F5" width="40%">Path</td>
-	<td align="left"> <font class="dataInput"><?php if (isset($root_directory)) echo $root_directory; ?></font></td>
-	</tr>
-	<tr bgcolor="White">
-	<td bgcolor="#F5F5F5" width="40%">Cache Path</td>
-	<td align="left"> <font class="dataInput"><?php if (isset($cache_dir)) echo $root_directory.''.$cache_dir; ?></font></td>
-	</tr>
-	<tr bgcolor="White">
-	<td bgcolor="#F5F5F5" width="40%">Admin Password</td>
-	<td align="left"> <font class="dataInput"><?php if (isset($admin_password)) echo ereg_replace('.', '*', $admin_password); ?></font></td>
-	</tr>
-
-	</tbody>
-	</table>
-	<br><br>
-
-	<table width="90%" cellpadding="5" border="0" class="small" >
-	<tr>
-	<td align="left" valign="bottom">
-	<form action="install.php" method="post" name="form" id="form">
-	<input type="hidden" name="file" value="2setConfig.php">
-	<input type="hidden" class="dataInput" name="db_hostname" value="<?php if (isset($db_hostname)) echo "$db_hostname"; ?>" />
-	<input type="hidden" class="dataInput" name="db_username" value="<?php if (isset($db_username)) echo "$db_username"; ?>" />
-	<input type="hidden" class="dataInput" name="db_password" value="<?php if (isset($db_password)) echo "$db_password"; ?>" />
-	<input type="hidden" class="dataInput" name="db_name" value="<?php if (isset($db_name)) echo "$db_name"; ?>" />
-	<input type="hidden" class="dataInput" name="db_drop_tables" value="<?php if (isset($db_drop_tables)) echo "$db_drop_tables"; ?>" />
-	<input type="hidden" class="dataInput" name="site_URL" value="<?php if (isset($site_URL)) echo "$site_URL"; ?>" />
-	<input type="hidden" class="dataInput" name="root_directory" value="<?php if (isset($root_directory)) echo "$root_directory"; ?>" />
-	<input type="hidden" class="dataInput" name="admin_email" value="<?php if (isset($admin_email)) echo "$admin_email"; ?>" />
-	<input type="hidden" class="dataInput" name="admin_password" value="<?php if (isset($admin_password)) echo "$admin_password"; ?>" />
-	<input type="hidden" class="dataInput" name="cache_dir" value="<?php if (isset($cache_dir)) echo $cache_dir; ?>" />
-	<input type="hidden" class="dataInput" name="mail_server" value="<?php if (isset($maill_server)) echo $mail_server; ?>" />
-	<input type="hidden" class="dataInput" name="mail_server_username" value="<?php if (isset($maill_server_username)) echo $mail_server_username; ?>" />
-	<input type="hidden" class="dataInput" name="mail_server_password" value="<?php if (isset($maill_server_password)) echo $mail_server_password; ?>" />
-	<input type="hidden" class="dataInput" name="ftpserver" value="<?php if (isset($ftpserver)) echo "$ftpserver"; ?>" />
-	<input type="hidden" class="dataInput" name="ftpuser" value="<?php if (isset($ftpuser)) echo "$ftpuser"; ?>" />
-	<input type="hidden" class="dataInput" name="ftppassword" value="<?php if (isset($ftppassword)) echo "$ftppassword"; ?>" />
-	<input type="image" name="Change" value="Change" src="install/images/cwBtnChange.gif"/></td>
-	</form>
-	</td>
-
-	<td align="right" valign="bottom">
-
-	<form action="install.php" method="post" name="form" id="form">
-	<input type="hidden" name="file" value="4createConfigFile.php">
-	<table class=small>
-	<tr>
-	<td><input type="checkbox" class="dataInput" name="db_populate" value="1"></td>
-	<td>Populate database with demo data</td>
-	</tr>
-	</table>
-
-	<input type="hidden" class="dataInput" name="db_hostname" value="<?php if (isset($db_hostname)) echo "$db_hostname"; ?>" />
-	<input type="hidden" class="dataInput" name="db_username" value="<?php if (isset($db_username)) echo "$db_username"; ?>" />
-	<input type="hidden" class="dataInput" name="db_password" value="<?php if (isset($db_password)) echo "$db_password"; ?>" />
-	<input type="hidden" class="dataInput" name="db_name" value="<?php if (isset($db_name)) echo "$db_name"; ?>" />
-	<input type="hidden" class="dataInput" name="db_drop_tables" value="<?php if (isset($db_drop_tables)) echo "$db_drop_tables"; ?>" />
-	<input type="hidden" class="dataInput" name="site_URL" value="<?php if (isset($site_URL)) echo "$site_URL"; ?>" />
-	<input type="hidden" class="dataInput" name="root_directory" value="<?php if (isset($root_directory)) echo "$root_directory"; ?>" />
-	<input type="hidden" class="dataInput" name="admin_email" value="<?php if (isset($admin_email)) echo "$admin_email"; ?>" />
-	<input type="hidden" class="dataInput" name="admin_password" value="<?php if (isset($admin_password)) echo "$admin_password"; ?>" />
-	<input type="hidden" class="dataInput" name="cache_dir" value="<?php if (isset($cache_dir)) echo $cache_dir; ?>" />
-	<input type="hidden" class="dataInput" name="mail_server" value="<?php if (isset($mail_server)) echo $mail_server; ?>" />
-	<input type="hidden" class="dataInput" name="mail_server_username" value="<?php if (isset($mail_server_username)) echo $mail_server_username; ?>" />
-	<input type="hidden" class="dataInput" name="mail_server_password" value="<?php if (isset($mail_server_password)) echo $mail_server_password; ?>" />
-	<input type="hidden" class="dataInput" name="ftpserver" value="<?php if (isset($ftpserver)) echo "$ftpserver"; ?>" />
-	<input type="hidden" class="dataInput" name="ftpuser" value="<?php if (isset($ftpuser)) echo "$ftpuser"; ?>" />
-	<input type="hidden" class="dataInput" name="ftppassword" value="<?php if (isset($ftppassword)) echo "$ftppassword"; ?>" />
-	<input type="image" src="install/images/cwBtnNext.gif" name="next" value="Create" onClick="window.location=('install.php')"/></form>
-	</td>
-
-	</tr>
-	</tbody></table>
-	<!-- ---------------------------------------------- System Configuration -- -->
-
-	</td>
-	</tr>
-	</table>
-	<!-- -->
-	<br><br>
-	<!-- Horizontal Shade -->
-	<table border="0" cellspacing="0" cellpadding="0" width="80%" style="background:url(install/images/cwShadeBg.gif) repeat-x;">
-	<tr>
-	<td><img src="install/images/cwShadeLeft.gif"></td>
-	<td align=right><img src="install/images/cwShadeRight.gif"></td>
-	</tr>
-	</table>
-	</td>
-	</tr>
-	</table>
-	</table>
-	<!-- Master table closes -->
-	</html>
-<?php
-}
-?>
+</html>

Modified: vtigercrm/branches/5.0_postgresql_integration/install/4createConfigFile.php
==============================================================================
--- vtigercrm/branches/5.0_postgresql_integration/install/4createConfigFile.php (original)
+++ vtigercrm/branches/5.0_postgresql_integration/install/4createConfigFile.php Mon May 15 19:23:42 2006
@@ -36,7 +36,6 @@
 
 
 
-require_once('include/utils/utils.php');
 include('vtigerversion.php');
 
 





More information about the vtigercrm-commits mailing list