mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Use the correct endpoint for MAXLOGAGE
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ if (isset($_GET['summary']) || isset($_GET['summaryRaw']) || !count($_GET)) {
|
||||
}
|
||||
|
||||
if (isset($_GET["getMaxlogage"]) && $auth) {
|
||||
$return = callFTLAPI("stats");
|
||||
$return = callFTLAPI("maxlogage");
|
||||
if (array_key_exists("FTLnotrunning", $return)) {
|
||||
$data = array("FTLnotrunning" => true);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user