From f19328bb3303f7533d72c516f54f7d31008bec1d Mon Sep 17 00:00:00 2001 From: skeeter Date: Fri, 8 Dec 2000 12:43:54 +0000 Subject: [PATCH] possible fix fro check for currentversion --- index.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/index.php b/index.php index 8c6b70a80e..2e566147d4 100755 --- a/index.php +++ b/index.php @@ -57,13 +57,7 @@ (isset($phpgw_info["server"]["checkfornewversion"]) && $phpgw_info["server"]["checkfornewversion"])) { $phpgw->network->set_addcrlf(False); - if ($phpgw->network->open_port("phpgroupware.org",80,30)) { - $phpgw->network->write_port("GET /currentversion HTTP/1.0\nHOST: www.phpgroupware.org\n\n"); - while ($line = $phpgw->network->read_port()) - $lines[] = $line; - $phpgw->network->close_port(); - } - + $lines = $phpgw->network->gethttpsocketfile("http://www.phpgroupware.org/currentversion"); for ($i=0; $i