merged dave's php4.1+ change from .16

This commit is contained in:
Ralf Becker 2003-05-24 12:21:42 +00:00
parent cce3d68984
commit 8d77552935

View File

@ -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')
{