mirror of
https://github.com/pi-hole/web.git
synced 2026-02-15 07:25:39 +00:00
Use DEFAULT_FTLCONFFILE
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user