mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
minor bugfixing
git-svn-id: file:///svn/phpbb/trunk@6719 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -895,12 +895,25 @@ class session
|
||||
$quads = explode('.', $ip);
|
||||
$reverse_ip = $quads[3] . '.' . $quads[2] . '.' . $quads[1] . '.' . $quads[0];
|
||||
|
||||
// Need to be listed on all servers...
|
||||
$listed = true;
|
||||
$info = array();
|
||||
|
||||
foreach ($dnsbl_check as $dnsbl => $lookup)
|
||||
{
|
||||
if (phpbb_checkdnsrr($reverse_ip . '.' . $dnsbl . '.', 'A') === true)
|
||||
{
|
||||
return array($dnsbl, $lookup . $ip);
|
||||
$info = array($dnsbl, $lookup . $ip);
|
||||
}
|
||||
else
|
||||
{
|
||||
$listed = false;
|
||||
}
|
||||
}
|
||||
|
||||
if ($listed)
|
||||
{
|
||||
return $info;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user