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