Fix #1473
This commit is contained in:
parent
078e439113
commit
c8a8695687
|
@ -66,8 +66,8 @@ function checkhostallow($domain,$dns) {
|
||||||
return $found;
|
return $found;
|
||||||
$n1=false; $n2=false;
|
$n1=false; $n2=false;
|
||||||
for ($i=0;$i<count($dns);$i++) {
|
for ($i=0;$i<count($dns);$i++) {
|
||||||
if ($dns[$i]==$L_NS1) $n1=true;
|
if (strtolower($dns[$i])==strtolower($L_NS1)) $n1=true;
|
||||||
if ($dns[$i]==$L_NS2) $n2=true;
|
if (strtolower($dns[$i])==strtolower($L_NS2)) $n2=true;
|
||||||
}
|
}
|
||||||
if ($fmode==1 && $n1) // OK
|
if ($fmode==1 && $n1) // OK
|
||||||
return $found;
|
return $found;
|
||||||
|
|
Loading…
Reference in New Issue