The endpoint links have no port number set. See the screenshots.
I wrote the view helper ...
function port($value)
{
$port = intval($_SERVER['REMOTE_PORT']);
if ($port !== 80) {
$value += ":$port";
}
return $value;
}
... which I expect to append the port number used by the client. The port number is important for dev environments with a nat/pat between the client and the server (as I do at the moment). The URL, however, looks odd aferwards.
The endpoint links have no port number set. See the screenshots.
I wrote the view helper ...
... which I expect to append the port number used by the client. The port number is important for dev environments with a nat/pat between the client and the server (as I do at the moment). The URL, however, looks odd aferwards.