aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-20 09:51:10 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-20 09:51:10 +0000
commit250ea4d3a551630f8a2c7dacc5d04357107f9c82 (patch)
treee27ac2ddd2e338ebd5689936b50e68e39d657b90
parent6a1615d1cd6c8ee1117782f66897db36a2450496 (diff)
downloadelgg-250ea4d3a551630f8a2c7dacc5d04357107f9c82.tar.gz
elgg-250ea4d3a551630f8a2c7dacc5d04357107f9c82.tar.bz2
Refs #272: Speculative fix. Added PORT support to current_page_url(). Please test to see if this solves your problem...
git-svn-id: https://code.elgg.org/elgg/trunk@2022 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/elgglib.php3
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'];