summaryrefslogtreecommitdiff
path: root/src/index.php
diff options
context:
space:
mode:
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;
}