Pass config file path when reloading pihole-FTL.conf

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König
2022-04-23 14:07:37 +02:00
parent fe03f0ed62
commit d3aafaa30f
+1 -1
View File
@@ -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();