diff options
| author | 2015-11-03 22:39:39 +0100 | |
|---|---|---|
| committer | 2015-11-03 22:39:39 +0100 | |
| commit | 36ad61299dea617f2a3eea0760e0323857393d2f (patch) | |
| tree | 78c5567578751752a3623574cbd768e602a46754 /lib | |
| parent | 6481c721dd96d2e241820fb27b531d2d1ba9f792 (diff) | |
| parent | 4525e547faa8781e37f86125110f28248eb67fd3 (diff) | |
Merge dev
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'])) { |
