forked from extern/egroupware
fixed bug [ 1027668 ] $$Link$$ not using https
This commit is contained in:
parent
f9d6e727c0
commit
0805bf61f8
@ -2637,7 +2637,7 @@
|
|||||||
// if url is only a path, try guessing the rest ;-)
|
// if url is only a path, try guessing the rest ;-)
|
||||||
if ($GLOBALS['phpgw_info']['server']['webserver_url'][0] == '/')
|
if ($GLOBALS['phpgw_info']['server']['webserver_url'][0] == '/')
|
||||||
{
|
{
|
||||||
$details['link'] = ($GLOBALS['phpgw_info']['server']['enforce_ssl'] ? 'https://' : 'http://').
|
$details['link'] = ($GLOBALS['phpgw_info']['server']['enforce_ssl'] || $_SERVER['HTTPS'] ? 'https://' : 'http://').
|
||||||
($GLOBALS['phpgw_info']['server']['hostname'] ? $GLOBALS['phpgw_info']['server']['hostname'] : 'localhost').
|
($GLOBALS['phpgw_info']['server']['hostname'] ? $GLOBALS['phpgw_info']['server']['hostname'] : 'localhost').
|
||||||
$details['link'];
|
$details['link'];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user