mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-26 17:52:30 -04:00
The Port() method now tries to extract the port from HTTP_HOST header before falling back to SERVER_PORT, which can be incorrect with nginx and PHP-FPM configurations. Also adds a sensible default (80/443) when no port can be determined. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6.9 KiB
6.9 KiB