forked from extern/egroupware
trying to hide transient error in php3
This commit is contained in:
parent
9e0d7f1d7a
commit
cbf5593ca0
2
home.php
2
home.php
@ -125,7 +125,7 @@
|
|||||||
$lines = $GLOBALS['phpgw']->network->gethttpsocketfile('http://www.phpgroupware.org/currentversion');
|
$lines = $GLOBALS['phpgw']->network->gethttpsocketfile('http://www.phpgroupware.org/currentversion');
|
||||||
for ($i=0; $i<count($lines); $i++)
|
for ($i=0; $i<count($lines); $i++)
|
||||||
{
|
{
|
||||||
if (ereg('currentversion',$lines[$i]))
|
if(@ereg('currentversion',$lines[$i]))
|
||||||
{
|
{
|
||||||
$line_found = explode(':',chop($lines[$i]));
|
$line_found = explode(':',chop($lines[$i]));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user