Skip to content
Snippets Groups Projects
Unverified Commit a1bf3411 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

rewrite getServerPort

Also fixes edge-case situation where $_SERVER['SERVER_PORT'] is not set for an HTTPS connection, this function would return an explicit port 80 i.e. ":80" rather than an empty string.
parent 8a4504c5
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment