mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 20:55:28 +00:00
We need to use \$domains instead of \$domain when addin domains to the audit log.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -51,7 +51,7 @@ switch($type) {
|
||||
echo shell_exec("sudo pihole --wild --web ".$domains);
|
||||
break;
|
||||
case "audit":
|
||||
echo exec("sudo pihole -a audit ".$domain);
|
||||
echo shell_exec("sudo pihole -a audit ".$domains);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user