Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pi-hole/pi-hole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDL6ER <DL6ER@users.noreply.github.com>2020-01-19 23:50:41 +0300
committerGitHub <noreply@github.com>2020-01-19 23:50:41 +0300
commitbf01f725f7c047865181a72e9026d66e0f452697 (patch)
treeb45a661b26230d3c53f16a123b1b7e037a319170 /advanced
parentc7bc58e94b166fc3177693e8414e06dbc042b60e (diff)
parent276b19184500b65eb34c9d480fe641373dba28f7 (diff)
Merge pull request #3087 from pi-hole/fix/blocking_page
Remove dead code causing failure from the blocking page
Diffstat (limited to 'advanced')
-rw-r--r--advanced/index.php6
1 files changed, 0 insertions, 6 deletions
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) ? '<a href="mailto:'.$svEmail.'?subject=Site Blocked: '.$serverName.'"></a>' : "<span/>";
-// 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 <code>/etc/pihole/</code>! Please update gravity by running <code>pihole -g</code>, or repair Pi-hole using <code>pihole -r</code>.");
-}
-
// Get possible non-standard location of FTL's database
$FTLsettings = parse_ini_file("/etc/pihole/pihole-FTL.conf");
if (isset($FTLsettings["GRAVITYDB"])) {