mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
commit
0142137d31
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue