mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Change the "none" to "nothing"
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
@@ -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)";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user