mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
to accomodate lack of network getting NEWed in phpgw.inc.php
This commit is contained in:
parent
054cff7517
commit
e542033680
@ -31,6 +31,7 @@
|
|||||||
|
|
||||||
|
|
||||||
if ($phpgw_info["user"]["permissions"]["admin"] && $phpgw_info["server"]["checkfornewversion"]) {
|
if ($phpgw_info["user"]["permissions"]["admin"] && $phpgw_info["server"]["checkfornewversion"]) {
|
||||||
|
$phpgw->network = new network;
|
||||||
$phpgw->network->set_addcrlf(False);
|
$phpgw->network->set_addcrlf(False);
|
||||||
if ($phpgw->network->open_port("phpgroupware.org",80,30)) {
|
if ($phpgw->network->open_port("phpgroupware.org",80,30)) {
|
||||||
$phpgw->network->write_port("GET /currentversion HTTP/1.0\nHOST: www.phpgroupware.org\n\n");
|
$phpgw->network->write_port("GET /currentversion HTTP/1.0\nHOST: www.phpgroupware.org\n\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user