diff options
author | Minteck <nekostarfan@gmail.com> | 2021-08-24 15:37:39 +0200 |
---|---|---|
committer | Minteck <nekostarfan@gmail.com> | 2021-08-24 15:37:39 +0200 |
commit | 93d028fe3c2a74edfdd197915de955ad6a84337b (patch) | |
tree | 325b994c5ee67197d0edaba942a5805ae63eb25b /_site/includes/telemetry.php | |
parent | 2dd699bee894bff8976737e51902c16823f9af61 (diff) | |
download | unchainedtech-93d028fe3c2a74edfdd197915de955ad6a84337b.tar.gz unchainedtech-93d028fe3c2a74edfdd197915de955ad6a84337b.tar.bz2 unchainedtech-93d028fe3c2a74edfdd197915de955ad6a84337b.zip |
Commit
Diffstat (limited to '_site/includes/telemetry.php')
-rw-r--r-- | _site/includes/telemetry.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/_site/includes/telemetry.php b/_site/includes/telemetry.php index cb82c40..1748eef 100644 --- a/_site/includes/telemetry.php +++ b/_site/includes/telemetry.php @@ -8,16 +8,16 @@ $month = date('m'); $year = date('y'); $url = "unchained:" .explode("?", $_SERVER['REQUEST_URI'])[0]; -if (!isset($db[$year]) && $_SERVER['PHP_SELF'] !== "/404.php") { +if (!isset($db[$year]) && substr($_SERVER['PHP_SELF'], 0, 5) !== "/errs") { $db[$year] = []; } -if (!isset($db[$year][$month]) && $_SERVER['PHP_SELF'] !== "/404.php") { +if (!isset($db[$year][$month]) && substr($_SERVER['PHP_SELF'], 0, 5) !== "/errs") { $db[$year][$month] = []; } -if (!isset($db[$year][$month][$day]) && $_SERVER['PHP_SELF'] !== "/404.php") { +if (!isset($db[$year][$month][$day]) && substr($_SERVER['PHP_SELF'], 0, 5) !== "/errs") { $db[$year][$month][$day] = []; } -if (!isset($db[$year][$month][$day][$url]) && $_SERVER['PHP_SELF'] !== "/404.php") { +if (!isset($db[$year][$month][$day][$url]) && substr($_SERVER['PHP_SELF'], 0, 5) !== "/errs") { $db[$year][$month][$day][$url] = []; } |