Skip to content

Commit 206844f

Browse files
stop tracking hosts
1 parent c78d504 commit 206844f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

stats.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
$action = $_POST["action"];
1111
$type = $_POST["type"];
1212

13-
$host = $_POST["host"];
13+
//$host = $_POST["host"];
1414
$source = $_POST["source"];
1515

1616

@@ -31,11 +31,11 @@
3131
$json["types"][$type]++;
3232
}
3333

34-
if (!isset($json["hosts"][$host]) && isset($host) && !empty($host)) {
35-
$json["hosts"][$host] = 1;
36-
} else {
37-
$json["hosts"][$host]++;
38-
}
34+
//if (!isset($json["hosts"][$host]) && isset($host) && !empty($host)) {
35+
// $json["hosts"][$host] = 1;
36+
//} else {
37+
// $json["hosts"][$host]++;
38+
//}
3939

4040

4141
file_put_contents("./stats.json", json_encode($json));

0 commit comments

Comments
 (0)