Update telemetry.php

This commit is contained in:
Peter Buchegger 2022-02-10 01:01:40 +01:00 committed by GitHub
parent ec67098f3b
commit dd5cf5ce11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
<?php require "${_SERVER["DOCUMENT_ROOT"]}/includes/bootstrap.php"; ?> <?php require "${_SERVER["DOCUMENT_ROOT"]}/../includes/bootstrap.php"; ?>
<?php $station = StationRepository::getInstance()->getObjectById($_GET['id'] ?? null); ?> <?php $station = StationRepository::getInstance()->getObjectById($_GET['id'] ?? null); ?>
<?php if ($station->isExistingObject()) : ?> <?php if ($station->isExistingObject()) : ?>
@ -282,4 +282,4 @@
} }
}); });
</script> </script>
<?php endif; ?> <?php endif; ?>