Skip to content
Snippets Groups Projects
  • Tim van Dijen's avatar
    a1bf3411
    rewrite getServerPort · a1bf3411
    Tim van Dijen authored
    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.
    rewrite getServerPort
    Tim van Dijen authored
    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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
HTTP.php 46.00 KiB