mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Add api.php?version
This commit is contained in:
@@ -24,6 +24,12 @@
|
||||
|
||||
// Non-Auth
|
||||
|
||||
if (isset($_GET['version'])) {
|
||||
$version = array();
|
||||
$version["version"] = "PHP";
|
||||
$data = array_merge($data, $version);
|
||||
}
|
||||
|
||||
if (isset($_GET['summaryRaw'])) {
|
||||
$data = array_merge($data, getSummaryData());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user