forked from extern/egroupware
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
This commit is contained in:
parent
45b680fc52
commit
befdc71038
@ -353,7 +353,7 @@
|
||||
);
|
||||
|
||||
/* 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')
|
||||
if(phpversion() >= 4.0.5 && @$GLOBALS['phpgw_setup']->db->Type == 'mysql')
|
||||
{
|
||||
$_ver_str = @mysql_get_server_info();
|
||||
$_ver_arr = explode(".",$_ver_str);
|
||||
|
Loading…
Reference in New Issue
Block a user