| @@ -522,9 +522,11 @@ | ||
| 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}"; | |
| 526 | + //$url = "{$protocol}{$host}{$port}{$requestURI}"; | |
| 527 | + // Removing port segment from the URL as it is causing bugs. | |
| 528 | + $url = "{$protocol}{$host}{$requestURI}"; | |
| 527 | 529 | return $url; |
| 528 | 530 | } |
| 529 | 531 | |
| 530 | 532 | /** |