[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/setup tables_current.inc.php,1.32.2.3,1
From: |
Bettina Gille <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/setup tables_current.inc.php,1.32.2.3,1.32.2.4 |
Date: |
Fri, 05 Apr 2002 15:37:06 -0500 |
Update of /cvsroot/phpgroupware/phpgwapi/setup
In directory subversions:/tmp/cvs-serv14079
Modified Files:
Tag: Version-0_9_14-branch
tables_current.inc.php
Log Message:
fixed wrong php version check. function mysql_get_server_info() was added in
4.0.5. the installation of phpgw fails with php versions 4.0.0 - 4.0.4. because
of the @ in front of that function call the install is frozen. it doesnt return
a message and also doesnt continue in any way
Index: tables_current.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/tables_current.inc.php,v
retrieving revision 1.32.2.3
retrieving revision 1.32.2.4
diff -C2 -r1.32.2.3 -r1.32.2.4
*** tables_current.inc.php 21 Mar 2002 02:19:38 -0000 1.32.2.3
--- tables_current.inc.php 5 Apr 2002 20:37:04 -0000 1.32.2.4
***************
*** 356,360 ****
/* Try to fix this unfortunate case for mysql 3.22.X in php4 at least */
! if(floor(phpversion()) == 4 && @$GLOBALS['phpgw_setup']->db->Type ==
'mysql')
{
$_ver_str = @mysql_get_server_info();
--- 356,360 ----
/* Try to fix this unfortunate case for mysql 3.22.X in php4 at least */
! if(phpversion() >= 4.0.5 && @$GLOBALS['phpgw_setup']->db->Type ==
'mysql')
{
$_ver_str = @mysql_get_server_info();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/setup tables_current.inc.php,1.32.2.3,1.32.2.4,
Bettina Gille <address@hidden> <=