diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Minz/Request.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Minz/Request.php b/lib/Minz/Request.php index 1c8efaf7b..effb9943c 100644 --- a/lib/Minz/Request.php +++ b/lib/Minz/Request.php @@ -105,7 +105,7 @@ class Minz_Request { } else { $host = 'localhost'; } - + if (!empty($_SERVER['HTTP_X_FORWARDED_PORT'])) { $port = intval($_SERVER['HTTP_X_FORWARDED_PORT']); } elseif (!empty($_SERVER['SERVER_PORT'])) { |
