multiple SERVER_PORT references updated to use HTTP_HOST
This commit is contained in:
@@ -25,7 +25,7 @@ if (isset ($_GET ['x'])) {
|
||||
}
|
||||
}
|
||||
|
||||
$defaultEndpoint = 'http://' . $_SERVER ['SERVER_NAME'] . ':' . $_SERVER ['SERVER_PORT'] . '/sys' . config("system.workspace") . '/en/classic/services/wsdl2';
|
||||
$defaultEndpoint = 'http://' . $_SERVER ['HTTP_HOST'] . '/sys' . config("system.workspace") . '/en/classic/services/wsdl2';
|
||||
|
||||
$wsdl = isset ($_SESSION ['END_POINT']) ? $_SESSION ['END_POINT'] : $defaultEndpoint;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user