From 276b19184500b65eb34c9d480fe641373dba28f7 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sun, 19 Jan 2020 21:39:49 +0100 Subject: Remove dead code causing failure from the blocking page. Signed-off-by: DL6ER --- advanced/index.php | 6 ------ 1 file changed, 6 deletions(-) (limited to 'advanced') diff --git a/advanced/index.php b/advanced/index.php index 62e45091..b0c4a7c3 100644 --- a/advanced/index.php +++ b/advanced/index.php @@ -96,12 +96,6 @@ if ($serverName === "pi.hole") { // Define admin email address text based off $svEmail presence $bpAskAdmin = !empty($svEmail) ? '' : ""; -// Determine if at least one block list has been generated -$blocklistglob = glob("/etc/pihole/list.0.*.domains"); -if ($blocklistglob === array()) { - die("[ERROR] There are no domain lists generated lists within /etc/pihole/! Please update gravity by running pihole -g, or repair Pi-hole using pihole -r."); -} - // Get possible non-standard location of FTL's database $FTLsettings = parse_ini_file("/etc/pihole/pihole-FTL.conf"); if (isset($FTLsettings["GRAVITYDB"])) { -- cgit v1.2.3