From 93d028fe3c2a74edfdd197915de955ad6a84337b Mon Sep 17 00:00:00 2001 From: Minteck Date: Tue, 24 Aug 2021 15:37:39 +0200 Subject: Commit --- _site/includes/modules/desktop.php | 1 - _site/includes/modules/mobile.php | 1 - _site/includes/telemetry.php | 8 ++++---- 3 files changed, 4 insertions(+), 6 deletions(-) (limited to '_site/includes') diff --git a/_site/includes/modules/desktop.php b/_site/includes/modules/desktop.php index 9f93735..5909b2f 100644 --- a/_site/includes/modules/desktop.php +++ b/_site/includes/modules/desktop.php @@ -30,7 +30,6 @@ Minteck's Space UnchainedTech Minteck's Hub - YouTrack diff --git a/_site/includes/modules/mobile.php b/_site/includes/modules/mobile.php index 967925e..e6dd64f 100644 --- a/_site/includes/modules/mobile.php +++ b/_site/includes/modules/mobile.php @@ -29,7 +29,6 @@ Minteck's Space UnchainedTech Minteck's Hub - YouTrack 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] = []; } -- cgit