Skip to content

Commit

Permalink
Oops, other way around
Browse files Browse the repository at this point in the history
  • Loading branch information
torinfo committed Aug 3, 2024
1 parent 1816ffd commit b0ed39f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
$scheme = (isset($_SERVER['HTTPS']) ? $_SERVER['HTTPS'] : false) || (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') ? 'https://' : 'http://';

if ($port == 80 || $port == 443 || isset($_SERVER['HTTP_X_FORWARDED_PROTO'])) {
$port = ':' . $port;
$port = '';
}

// get subdir from $xerte_toolkits_site->site_url path stored in Db
Expand Down

0 comments on commit b0ed39f

Please sign in to comment.