Change the "none" to "nothing"

This commit is contained in:
DL6ER
2016-12-19 10:44:04 +01:00
parent d86122ee83
commit da12f6f16d
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -163,7 +163,7 @@
$showBlocked = true;
$showPermitted = false;
}
elseif($setupVars["API_QUERY_LOG_SHOW"] === "none")
elseif($setupVars["API_QUERY_LOG_SHOW"] === "nothing")
{
$showBlocked = false;
$showPermitted = false;
+1 -1
View File
@@ -205,7 +205,7 @@ function validDomain($domain_name)
}
else
{
exec("sudo pihole -a setquerylog none");
exec("sudo pihole -a setquerylog nothing");
$success .= "No entries will be shown in Query Log";
}
+4
View File
@@ -23,6 +23,10 @@ if(isset($setupVars["API_QUERY_LOG_SHOW"]))
{
$showing = "(showing blocked queries only)";
}
elseif($setupVars["API_QUERY_LOG_SHOW"] === "nothing")
{
$showing = "(showing no queries at all)";
}
}
?>