Add API support for list actions

Signed-off-by: Mike Souza <contact@michael-souza.com>
This commit is contained in:
Mike Souza
2018-08-26 10:42:32 -04:00
parent 81561f5da5
commit 203d41103a
4 changed files with 42 additions and 7 deletions

View File

@@ -14,7 +14,7 @@ $listtype = $_GET['list'];
$basedir = "/etc/pihole/";
require "func.php";
require_once "func.php";
switch ($listtype) {
case "white":