aboutsummaryrefslogtreecommitdiff
path: root/_site/includes
diff options
context:
space:
mode:
Diffstat (limited to '_site/includes')
-rw-r--r--_site/includes/modules/desktop.php1
-rw-r--r--_site/includes/modules/mobile.php1
-rw-r--r--_site/includes/telemetry.php8
3 files changed, 4 insertions, 6 deletions
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 @@
<a href="https://minteck.ro.lt" class="dropdown-item"><span class="app-title"><img alt="" src="/apps/minteck.svg" class="app-icon"> Minteck's Space</span></a>
<a href="https://unchainedtech.minteck.ro.lt" class="dropdown-item"><span class="app-title"><img alt="" src="/apps/unchainedtech.png" class="app-icon"> UnchainedTech</span></a>
<a href="https://jetbrains.minteck.ro.lt/hub" class="dropdown-item"><img alt="" src="/apps/hub.svg" class="app-icon"> <span class="app-title">Minteck's Hub</span></a>
- <a href="https://jetbrains.minteck.ro.lt/youtrack" class="dropdown-item"><img alt="" src="/apps/youtrack.svg" class="app-icon"> <span class="app-title">YouTrack</span></a>
</div>
</div>
</div>
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 @@
<a href="https://minteck.ro.lt" class="dropdown-item"><span class="app-title"><img alt="" src="/apps/minteck.svg" class="app-icon"> Minteck's Space</span></a>
<a href="https://unchainedtech.minteck.ro.lt" class="dropdown-item"><span class="app-title"><img alt="" src="/apps/unchainedtech.png" class="app-icon"> UnchainedTech</span></a>
<a href="https://jetbrains.minteck.ro.lt/hub" class="dropdown-item"><img alt="" src="/apps/hub.svg" class="app-icon"> <span class="app-title">Minteck's Hub</span></a>
- <a href="https://jetbrains.minteck.ro.lt/youtrack" class="dropdown-item"><img alt="" src="/apps/youtrack.svg" class="app-icon"> <span class="app-title">YouTrack</span></a>
</div>
</div>
</div>
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] = [];
}