Merge pull request #57 from kolobus/master
Hash instead of IP in traffic limiter
This commit is contained in:
commit
deda8e4783
|
@ -79,7 +79,7 @@ class trafficlimiter extends persistence
|
||||||
*/
|
*/
|
||||||
public static function getIp()
|
public static function getIp()
|
||||||
{
|
{
|
||||||
return $_SERVER[self::$_ipKey];
|
return md5($_SERVER[self::$_ipKey]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue