From 8d775529351f2bdef726da943f063a57c70fdf4a Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 24 May 2003 12:21:42 +0000 Subject: [PATCH] merged dave's php4.1+ change from .16 --- phpgwapi/inc/class.sessions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.sessions.inc.php b/phpgwapi/inc/class.sessions.inc.php index b8b9a17522..78fa96553b 100644 --- a/phpgwapi/inc/class.sessions.inc.php +++ b/phpgwapi/inc/class.sessions.inc.php @@ -927,7 +927,7 @@ } } - if(@isset($GLOBALS['phpgw_info']['server']['enforce_ssl']) && $GLOBALS['phpgw_info']['server']['enforce_ssl'] && !$GLOBALS['HTTP_SERVER_VARS']['HTTPS']) + if(@isset($GLOBALS['phpgw_info']['server']['enforce_ssl']) && $GLOBALS['phpgw_info']['server']['enforce_ssl'] && !$_SERVER['HTTPS']) { if(substr($url ,0,4) != 'http') {