summaryrefslogtreecommitdiff
path: root/src/index.php
diff options
context:
space:
mode:
authorJonas Kohl2024-09-19 14:25:29 +0200
committerJonas Kohl2024-09-19 14:25:29 +0200
commitec0ea4e681136c38b17c66b40ee5dfca8ca136e4 (patch)
tree669f6fbeda5c44a94eebd17f57fa2dab3a747ce5 /src/index.php
parent95bfdb59b6a1e04e474551c23c7caef619c79839 (diff)
Add version info
Diffstat (limited to 'src/index.php')
-rw-r--r--src/index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/index.php b/src/index.php
index cc9e99d..8202365 100644
--- a/src/index.php
+++ b/src/index.php
@@ -23,6 +23,8 @@ use Symfony\Contracts\Service\Attribute\Required;
header_remove("X-Powered-By");
+const MYSTICBB_VERSION = "0.1.0";
+
if (($_SERVER["HTTP_USER_AGENT"] ?? "") === "") {
http_response_code(403);
exit;