mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Haha, slowly it's starting to look stupid ...
git-svn-id: file:///svn/phpbb/trunk@6746 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
f8aa743b5f
commit
96858686ff
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, $ip))
|
if (!empty($ip) && !preg_match($ipv4, $ip) && !preg_match($ipv6, $ip))
|
||||||
{
|
{
|
||||||
if (!defined('DEBUG_EXTRA'))
|
if (!defined('DEBUG_EXTRA'))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue