mirror of
https://github.com/slawkens/myaac.git
synced 2025-12-05 09:06:52 +01:00
Prefer get_browser_real_ip() over REMOTE_ADDR
This commit is contained in:
@@ -74,7 +74,7 @@ else
|
||||
else
|
||||
$tmp = array();
|
||||
|
||||
$ip = $_SERVER['REMOTE_ADDR'];
|
||||
$ip = get_browser_real_ip();
|
||||
$t = isset($tmp[$ip]) ? $tmp[$ip] : NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user