mirror of
https://github.com/pi-hole/web.git
synced 2026-03-02 07:27:45 +00:00
7 lines
183 B
PHP
7 lines
183 B
PHP
<?php
|
|
if(!isset($_GET['domain'], $_GET['list']))
|
|
die();
|
|
|
|
exec("ex +g/${_GET['domain']}/d -cwq /etc/pihole/${_GET['list']}list.txt");
|
|
exec("sudo /usr/local/bin/gravity.sh");
|