mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 09:53:20 +01:00
Switch to different host for currentversion check
This commit is contained in:
parent
2f6ad147af
commit
17340424c1
4
home.php
4
home.php
@ -124,7 +124,7 @@
|
||||
$GLOBALS['phpgw_info']['server']['checkfornewversion']))
|
||||
{
|
||||
$GLOBALS['phpgw']->network->set_addcrlf(False);
|
||||
$lines = $GLOBALS['phpgw']->network->gethttpsocketfile('http://www.phpgroupware.org/currentversion');
|
||||
$lines = $GLOBALS['phpgw']->network->gethttpsocketfile('http://www.egroupware.org/currentversion');
|
||||
for ($i=0; $i<count($lines); $i++)
|
||||
{
|
||||
if (ereg('currentversion',$lines[$i]))
|
||||
@ -135,7 +135,7 @@
|
||||
if($GLOBALS['phpgw']->common->cmp_version($GLOBALS['phpgw_info']['server']['versions']['phpgwapi'],$line_found[1]))
|
||||
{
|
||||
echo '<p>There is a new version of eGroupWare available. <a href="'
|
||||
. 'http://www.phpgroupware.org">http://www.phpgroupware.org</a>';
|
||||
. 'http://www.egroupware.org">http://www.egroupware.org</a>';
|
||||
}
|
||||
|
||||
$_found = False;
|
||||
|
@ -77,7 +77,7 @@
|
||||
}
|
||||
if(version_compare(phpversion(),'4.3.0') >= 0)
|
||||
{
|
||||
$this->socket = fsockopen($server,$port,$errcode,$errmsg,$timeout);
|
||||
$this->socket = @fsockopen($server,$port,$errcode,$errmsg,$timeout);
|
||||
if($this->socket)
|
||||
{
|
||||
stream_set_timeout($this->socket,$timeout,0);
|
||||
@ -85,7 +85,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->socket = fsockopen($server,$port,$errcode,$errmsg);
|
||||
$this->socket = @fsockopen($server,$port,$errcode,$errmsg);
|
||||
}
|
||||
if(!$this->socket)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user