mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Pass config file path when reloading pihole-FTL.conf
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user