Comment 1 for bug 589581

Revision history for this message
Alex Harrington (alexharrington) wrote :

AH:
http://bazaar.launchpad.net/~xibo-maintainers/xibo/encke-lineendings/annotate/head%3A/server/lib/app/kit.class.php#L417

On Line 420 I'm going to take a punt and guess that the line should read:

return 'http://' . $_SERVER['SERVER_NAME'] . ':' . $_SERVER['SERVER_PORT'] . $request[0];

Also needs to be adjusted to check if $_SERVER['HTTPS'] is set and use HTTPS in that URL if it is - but that's not important here.

DG:
I think Alex is right - it wants to be more like the code in the above function (345 - 365).