mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
I'm very oblivious today :@
git-svn-id: file:///svn/phpbb/trunk@6745 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
81832ca645
commit
f8aa743b5f
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ class session
|
||||||
foreach ($ips as $ip)
|
foreach ($ips as $ip)
|
||||||
{
|
{
|
||||||
// check IPv4 first, the IPv6 is hopefully only going to be used very seldomly
|
// check IPv4 first, the IPv6 is hopefully only going to be used very seldomly
|
||||||
if (!empty($ip) && !preg_match($ipv4, $this->forwarded_for) && !preg_match($ipv6, $this->forwarded_for))
|
if (!empty($ip) && !preg_match($ipv4, $this->forwarded_for) && !preg_match($ipv6, $ip))
|
||||||
{
|
{
|
||||||
if (!defined('DEBUG_EXTRA'))
|
if (!defined('DEBUG_EXTRA'))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue