Add ports in routing module
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1499 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -33,7 +33,7 @@ class route
|
||||
$this->baseURL = dirname ($_SERVER["SCRIPT_NAME"]);
|
||||
if (isset ($_SERVER["SERVER_NAME"]))
|
||||
$this->baseURL = "//".$_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"]
|
||||
.$this->baseURL;
|
||||
.$this->baseURL;
|
||||
if (isset ($_SERVER["HTTPS"]))
|
||||
$this->baseURL = "https:".$this->baseURL;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user