| @@ -522,11 +522,9 @@ | ||
| 522 | 522 | $port = ($_SERVER["SERVER_PORT"] != "80") ? ":{$_SERVER["SERVER_PORT"]}" : ''; |
| 523 | 523 | // Request URI. |
| 524 | 524 | $requestURI = $_SERVER['REQUEST_URI']; |
| 525 | 525 | // Final URL. |
| 526 | - //$url = "{$protocol}{$host}{$port}{$requestURI}"; | |
| 527 | - // Removing port segment from the URL as it is causing bugs. | |
| 528 | - $url = "{$protocol}{$host}{$requestURI}"; | |
| 526 | + $url = "{$protocol}{$host}{$port}{$requestURI}"; | |
| 529 | 527 | return $url; |
| 530 | 528 | } |
| 531 | 529 | |
| 532 | 530 | /** |