diff options
-rw-r--r-- | engine/lib/elgglib.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index 8da54f10d..990611aff 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -62,6 +62,9 @@ if (($url['user']) || $url['pass']) $page .="@"; $page .= $url['host']; + + if ($url['port']) $page .= ":" . $url['port']; + $page = trim($page, "/"); //$page.="/"; $page .= $_SERVER['REQUEST_URI']; |