From: Evan Prodromou <evan@status.net>
Date: Tue, 10 Jan 2012 15:51:36 +0000 (-0500)
Subject: Use X-Client header for IP for load-balancers
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e3f06ee220cd33beca20aa7c0ab64ed9ae08bf79;p=quix0rs-gnu-social.git

Use X-Client header for IP for load-balancers
---

diff --git a/plugins/RegisterThrottle/RegisterThrottlePlugin.php b/plugins/RegisterThrottle/RegisterThrottlePlugin.php
index 7ad7809bac..1e686bd62b 100644
--- a/plugins/RegisterThrottle/RegisterThrottlePlugin.php
+++ b/plugins/RegisterThrottle/RegisterThrottlePlugin.php
@@ -223,6 +223,7 @@ class RegisterThrottlePlugin extends Plugin
     private function _getIpAddress()
     {
         $keys = array('HTTP_X_FORWARDED_FOR',
+                      'HTTP_X_CLIENT',
                       'CLIENT-IP',
                       'REMOTE_ADDR');