Skip to content

Commit

Permalink
reverted some request changes I made.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Partridge - xtech86 committed Dec 2, 2016
1 parent c69d19e commit 3170527
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libraries/joomla/application/web.php
Expand Up @@ -868,7 +868,7 @@ protected function checkHeadersSent()
protected function detectRequestUri()
{
// First we need to detect the URI scheme.
if (isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) != 'off') || (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && strtolower($_SERVER['HTTP_X_FORWARDED_PROTO']) == 'https'))
if (isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) != 'off'))
{
$scheme = 'https://';
}
Expand Down
2 changes: 1 addition & 1 deletion libraries/joomla/uri/uri.php
Expand Up @@ -63,7 +63,7 @@ public static function getInstance($uri = 'SERVER')
if ($uri == 'SERVER')
{
// Determine if the request was over SSL (HTTPS).
if (isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) != 'off') || (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && strtolower($_SERVER['HTTP_X_FORWARDED_PROTO']) == 'https'))
if (isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) != 'off'))
{
$https = 's://';
}
Expand Down

0 comments on commit 3170527

Please sign in to comment.