Add support for privacy level 4 (no stats)

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
Mcat12
2018-08-20 17:31:53 -04:00
parent 72aa7761e6
commit 78ae865d62
2 changed files with 7 additions and 2 deletions

View File

@@ -675,7 +675,7 @@ function readAdlists()
case "privacyLevel":
$level = intval($_POST["privacylevel"]);
if($level >= 0 && $level <= 3)
if($level >= 0 && $level <= 4)
{
exec("sudo pihole -a privacylevel ".$level);
$success .= "The privacy level has been updated";