mirror of
https://github.com/pi-hole/web.git
synced 2026-04-24 10:50:23 +01:00
Display the name of the blocklist URL
added -adlist arg to the query command
This commit is contained in:
@@ -58,7 +58,7 @@ else
|
||||
$exact = "";
|
||||
}
|
||||
|
||||
$proc = popen("sudo pihole -q ".$url." ".$exact, 'r');
|
||||
$proc = popen("sudo pihole -q -adlist ".$url." ".$exact, 'r');
|
||||
while (!feof($proc)) {
|
||||
echoEvent(fread($proc, 4096));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user