mirror of
https://github.com/pi-hole/web.git
synced 2026-05-01 22:24:08 +01:00
13
api.php
13
api.php
@@ -75,20 +75,13 @@ elseif (isset($_GET['disable']) && $auth)
|
||||
}
|
||||
|
||||
// Other API functions
|
||||
if(!testFTL($FTL_IP) && !isset($_GET["PHP"]))
|
||||
if(!isset($_GET["PHP"]))
|
||||
{
|
||||
$data = array_merge($data, array("FTLnotrunning" => true));
|
||||
require("api_FTL.php");
|
||||
}
|
||||
else
|
||||
{
|
||||
if(!isset($_GET["PHP"]))
|
||||
{
|
||||
require("api_FTL.php");
|
||||
}
|
||||
else
|
||||
{
|
||||
require("api_PHP.php");
|
||||
}
|
||||
require("api_PHP.php");
|
||||
}
|
||||
|
||||
if(isset($_GET["jsonForceObject"]))
|
||||
|
||||
Reference in New Issue
Block a user