E_ALL fix

This commit is contained in:
Ralf Becker 2004-05-24 22:33:48 +00:00
parent 6399a1664e
commit 475be59cb1

View File

@ -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