We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c78d504 commit 206844fCopy full SHA for 206844f
1 file changed
stats.php
@@ -10,7 +10,7 @@
10
$action = $_POST["action"];
11
$type = $_POST["type"];
12
13
-$host = $_POST["host"];
+//$host = $_POST["host"];
14
$source = $_POST["source"];
15
16
@@ -31,11 +31,11 @@
31
$json["types"][$type]++;
32
}
33
34
-if (!isset($json["hosts"][$host]) && isset($host) && !empty($host)) {
35
- $json["hosts"][$host] = 1;
36
-} else {
37
- $json["hosts"][$host]++;
38
-}
+//if (!isset($json["hosts"][$host]) && isset($host) && !empty($host)) {
+// $json["hosts"][$host] = 1;
+//} else {
+// $json["hosts"][$host]++;
+//}
39
40
41
file_put_contents("./stats.json", json_encode($json));
0 commit comments