This commit is contained in:
Alan Garcia 2014-01-20 07:59:59 +00:00
parent 078e439113
commit c8a8695687
1 changed files with 2 additions and 2 deletions

View File

@ -66,8 +66,8 @@ function checkhostallow($domain,$dns) {
return $found;
$n1=false; $n2=false;
for ($i=0;$i<count($dns);$i++) {
if ($dns[$i]==$L_NS1) $n1=true;
if ($dns[$i]==$L_NS2) $n2=true;
if (strtolower($dns[$i])==strtolower($L_NS1)) $n1=true;
if (strtolower($dns[$i])==strtolower($L_NS2)) $n2=true;
}
if ($fmode==1 && $n1) // OK
return $found;