mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
E_ALL fix
This commit is contained in:
parent
6399a1664e
commit
475be59cb1
@ -103,7 +103,7 @@
|
||||
{
|
||||
$this->set_cookiedomain();
|
||||
}
|
||||
setcookie($cookiename,$cookievalue,$cookietime,'/',$this->cookie_domain);
|
||||
setcookie($cookiename,$cookievalue,$cookietime,'/',$this->cookie_domain);
|
||||
}
|
||||
|
||||
/*!
|
||||
@ -284,7 +284,7 @@
|
||||
function checkip($remoteip='')
|
||||
{
|
||||
//echo "<p>setup::checkip($remoteip) against setup_acl='".$GLOBALS['phpgw_info']['server']['setup_acl']."'</p>\n";
|
||||
$allowed_ips = explode(',',$GLOBALS['phpgw_info']['server']['setup_acl']);
|
||||
$allowed_ips = explode(',',@$GLOBALS['phpgw_info']['server']['setup_acl']);
|
||||
if(empty($GLOBALS['phpgw_info']['server']['setup_acl']) || !is_array($allowed_ips))
|
||||
{
|
||||
return True; // no test
|
||||
|
Loading…
Reference in New Issue
Block a user