From 475be59cb1b09ef43073f43cbe41af5cca1c3c79 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 24 May 2004 22:33:48 +0000 Subject: [PATCH] E_ALL fix --- phpgwapi/inc/class.setup.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.setup.inc.php b/phpgwapi/inc/class.setup.inc.php index 38a0e4eec8..1d076233a1 100644 --- a/phpgwapi/inc/class.setup.inc.php +++ b/phpgwapi/inc/class.setup.inc.php @@ -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 "

setup::checkip($remoteip) against setup_acl='".$GLOBALS['phpgw_info']['server']['setup_acl']."'

\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