add extra check to getAllQueries so that reads of gravity.list are not counted as pi-holed

This commit is contained in:
Promofaux
2016-04-16 02:50:15 +01:00
parent ad2715e23f
commit fa8cec8fa7

View File

@@ -132,7 +132,7 @@
elseif (substr($tmp, 0, 9) == "forwarded" ){
$status="OK";
}
elseif (substr($tmp, strlen($tmp) - 12, 12) == "gravity.list" ){
elseif (substr($tmp, strlen($tmp) - 12, 12) == "gravity.list" && $exploded[count($exploded)-5] != "read"){
$status="Pi-holed";
}