phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: phpgwapi/setup tables_current.inc.php,1.35,1.36


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/setup tables_current.inc.php,1.35,1.36
Date: Fri, 05 Apr 2002 15:37:29 -0500

Update of /cvsroot/phpgroupware/phpgwapi/setup
In directory subversions:/tmp/cvs-serv14095

Modified Files:
        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.35
retrieving revision 1.36
diff -C2 -r1.35 -r1.36
*** tables_current.inc.php      21 Mar 2002 02:15:45 -0000      1.35
--- tables_current.inc.php      5 Apr 2002 20:37:27 -0000       1.36
***************
*** 354,358 ****
  
        /* 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();
--- 354,358 ----
  
        /* 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();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]