From d3aafaa30fed47b93b3057963d64159a560ab3ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6nig?= Date: Sat, 23 Apr 2022 14:07:37 +0200 Subject: [PATCH] Pass config file path when reloading pihole-FTL.conf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König --- settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.php b/settings.php index 420aae36..200ac060 100644 --- a/settings.php +++ b/settings.php @@ -10,7 +10,7 @@ require "scripts/pi-hole/php/savesettings.php"; require_once "scripts/pi-hole/php/FTL.php"; // Reread ini file as things might have been changed $setupVars = parse_ini_file("/etc/pihole/setupVars.conf"); -$piholeFTLConf = piholeFTLConfig(true); +$piholeFTLConf = piholeFTLConfig("/etc/pihole/pihole-FTL.conf" ,true); // Handling of PHP internal errors $last_error = error_get_last();