diff --git a/index.php b/index.php index 33d08c5e..37bf08c3 100644 --- a/index.php +++ b/index.php @@ -8,6 +8,19 @@ $indexpage = true; require "scripts/pi-hole/php/header.php"; require_once("scripts/pi-hole/php/gravity.php"); + + function getinterval() + { + global $piholeFTLConf; + if(isset($piholeFTLConf["MAXLOGAGE"])) + { + return round(floatval($piholeFTLConf["MAXLOGAGE"]), 1); + } + else + { + return "24"; + } + } ?>