mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02: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:
@@ -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'))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user