[Vtigercrm-commits] [vtiger-commits] r6084 - /vtigercrm/trunk/install/3confirmConfig.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue May 16 15:02:50 EDT 2006
Author: allanbush
Date: Tue May 16 13:02:49 2006
New Revision: 6084
Log:
Fixed mysql verison detection broken by the postgres branch.
Modified:
vtigercrm/trunk/install/3confirmConfig.php
Modified: vtigercrm/trunk/install/3confirmConfig.php
==============================================================================
--- vtigercrm/trunk/install/3confirmConfig.php (original)
+++ vtigercrm/trunk/install/3confirmConfig.php Tue May 16 13:02:49 2006
@@ -52,8 +52,10 @@
$db_server_status = true;
if($db_type=='mysql')
{
- $version = explode('-',mysql_get_server_info($conn));
+ $mysql_conn = mysql_connect($db_hostname,$db_username,$db_password);
+ $version = explode('-',mysql_get_server_info($mysql_conn));
$mysql_server_version=$version[0];
+ mysql_close($mysql_conn);
}
if($_REQUEST['check_createdb'] == 'on')
{
More information about the vtigercrm-commits
mailing list