Add port in URL to the routing module
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1498 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -76,7 +76,7 @@ class route
|
||||
else
|
||||
$url = "http:";
|
||||
if (isset ($_SERVER["SERVER_NAME"]))
|
||||
$url .= "//".$_SERVER["SERVER_NAME"];
|
||||
$url .= "//".$_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"];
|
||||
if (isset ($_SERVER["REQUEST_URI"]))
|
||||
$url .= $_SERVER["REQUEST_URI"];
|
||||
return $url;
|
||||
|
||||
Reference in New Issue
Block a user