From 667acb90caef44e7b847f19152eae2169b9b22fe Mon Sep 17 00:00:00 2001 From: Mcat12 Date: Fri, 10 Mar 2017 07:27:27 -0500 Subject: [PATCH] Allow block page to access queryads Broken in https://github.com/pi-hole/AdminLTE/commit/276f2c1628ffef72c3d3ae489fd5b71ebb800227 --- scripts/pi-hole/php/queryads.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/pi-hole/php/queryads.php b/scripts/pi-hole/php/queryads.php index 55e8f8c2..457e235c 100644 --- a/scripts/pi-hole/php/queryads.php +++ b/scripts/pi-hole/php/queryads.php @@ -6,9 +6,6 @@ * This file is copyright under the latest version of the EUPL. * Please see LICENSE file for your rights under this license. */ -require "password.php"; -if(!$auth) die("Not authorized"); - ob_end_flush(); ini_set("output_buffering", "0"); ob_implicit_flush(true);