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