summaryrefslogtreecommitdiff
path: root/src/index.php
diff options
context:
space:
mode:
authorJonas Kohl2024-10-12 14:37:40 +0200
committerJonas Kohl2024-10-12 14:37:40 +0200
commit8121e98210ada254bb146097f04c7e0345a2e206 (patch)
treed3c09802b595711b419847886fc9c387b2acb7d8 /src/index.php
parentf61ba6ca60c9a8a0c218c554bd4ed06491306b3e (diff)
Another few fixesv0.4.6
Diffstat (limited to 'src/index.php')
-rw-r--r--src/index.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/index.php b/src/index.php
index e82d22a..6e1522c 100644
--- a/src/index.php
+++ b/src/index.php
@@ -12,7 +12,7 @@ use mystic\forum\utils\RequestUtils;
header_remove("X-Powered-By");
-const MYSTICBB_VERSION = "0.4.5";
+const MYSTICBB_VERSION = "0.4.6";
if (($_SERVER["HTTP_USER_AGENT"] ?? "") === "") {
http_response_code(403);
@@ -291,7 +291,9 @@ $GLOBALS["currentUser"] = &$currentUser;
function invalid_action(string $_action): never {
http_response_code(404);
- msg_error(__("Invalid or unknown action $_action"));
+ msg_error(__("Invalid or unknown action \"%action%\"", [
+ "action" => $_action,
+ ]));
exit;
}