From a097d63b3ba69662f32f5b09c3fde2c6342b342f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6nig?= Date: Sat, 23 Apr 2022 19:44:11 +0200 Subject: [PATCH] Use DEFAULT_FTLCONFFILE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König --- settings.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/settings.php b/settings.php index 200ac060..3cf7f423 100644 --- a/settings.php +++ b/settings.php @@ -9,8 +9,9 @@ require "scripts/pi-hole/php/header.php"; require "scripts/pi-hole/php/savesettings.php"; require_once "scripts/pi-hole/php/FTL.php"; // Reread ini file as things might have been changed +// DEFAULT_FTLCONFFILE is set in "scripts/pi-hole/php/FTL.php"; $setupVars = parse_ini_file("/etc/pihole/setupVars.conf"); -$piholeFTLConf = piholeFTLConfig("/etc/pihole/pihole-FTL.conf" ,true); +$piholeFTLConf = piholeFTLConfig(DEFAULT_FTLCONFFILE ,true); // Handling of PHP internal errors $last_error = error_get_last();