Add api.php?version

This commit is contained in:
DL6ER
2017-02-20 11:33:24 +01:00
parent b54a2764e3
commit c3047f76c9
2 changed files with 17 additions and 1 deletions
+6
View File
@@ -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());
}