Skip to content

Commit

Permalink
Update uri.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bpeterson69 committed Mar 23, 2016
1 parent 601183b commit fca1b4c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libraries/joomla/uri/uri.php
Expand Up @@ -67,7 +67,9 @@ public static function getInstance($uri = 'SERVER')
{
$https = 's://';
}
elseif ((isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && !empty($_SERVER['HTTP_X_FORWARDED_PROTO']) && (strtolower($_SERVER['HTTP_X_FORWARDED_PROTO']) !== 'http')))
elseif ((isset($_SERVER['HTTP_X_FORWARDED_PROTO']) &&
!empty($_SERVER['HTTP_X_FORWARDED_PROTO']) &&
(strtolower($_SERVER['HTTP_X_FORWARDED_PROTO']) !== 'http')))
{
$https = 's://';
}
Expand Down

0 comments on commit fca1b4c

Please sign in to comment.