diff options
-rw-r--r-- | src/application/views/template_start.php | 1 | ||||
-rw-r--r-- | src/index.php | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/application/views/template_start.php b/src/application/views/template_start.php index 51f873a..cf3daf6 100644 --- a/src/application/views/template_start.php +++ b/src/application/views/template_start.php @@ -15,6 +15,7 @@ $pageTitle .= env("MYSTIC_FORUM_TITLE") ?? "Forum"; <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width,initial-scale=1"> + <meta name="generator" content="mysticBB <?= htmlentities(MYSTICBB_VERSION) ?>"> <title><?= htmlentities($pageTitle) ?></title> <link rel="stylesheet" href="?_action=ctheme"> <script src="/ui/jquery-1.12.4.min.js"></script> 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; |