Acknowledge possible custom time interval set by MAXLOGAGE in pihole-FTL.conf

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2018-08-08 10:27:11 +02:00
parent 4d42735676
commit 73265605c2
3 changed files with 24 additions and 2 deletions

View File

@@ -152,6 +152,16 @@
$FTLpid = intval(pidofFTL());
$FTL = ($FTLpid !== 0 ? true : false);
$piholeFTLConfFile = "/etc/pihole/pihole-FTL.conf";
if(is_readable($piholeFTLConfFile))
{
$piholeFTLConf = parse_ini_file($piholeFTLConfFile);
}
else
{
$piholeFTLConf = array();
}
?>
<!DOCTYPE html>
<!-- Pi-hole: A black hole for Internet advertisements