Double rainbow.

This commit is contained in:
ber clausen 2013-12-22 21:47:19 -02:00
parent 62e89734ab
commit 98962806cd

View file

@ -385,7 +385,7 @@ class CakeRequest implements ArrayAccess {
* Get the IP the client is using, or says they are using. * Get the IP the client is using, or says they are using.
* *
* @param boolean $safe Use safe = false when you think the user might manipulate their HTTP_CLIENT_IP * @param boolean $safe Use safe = false when you think the user might manipulate their HTTP_CLIENT_IP
* header. Setting $safe = false will will also look at HTTP_X_FORWARDED_FOR * header. Setting $safe = false will also look at HTTP_X_FORWARDED_FOR
* @return string The client IP. * @return string The client IP.
*/ */
public function clientIp($safe = true) { public function clientIp($safe = true) {