mirror of
https://github.com/pi-hole/web.git
synced 2026-03-02 15:44:45 +00:00
Disable Whitelist/Blacklist feature for release
See #39 for why this is needed
This commit is contained in:
12
php/sub.php
12
php/sub.php
@@ -1,12 +0,0 @@
|
||||
<?php
|
||||
if(!isset($_GET['domain'], $_GET['list']))
|
||||
die();
|
||||
|
||||
switch($_GET['list']) {
|
||||
case "white":
|
||||
exec("/usr/local/bin/whitelist.sh -q -d ${_GET['domain']}");
|
||||
break;
|
||||
case "black":
|
||||
exec("/usr/local/bin/blacklist.sh -q -d ${_GET['domain']}");
|
||||
break;
|
||||
}
|
||||
Reference in New Issue
Block a user