diff options
author | Jonas Kohl | 2024-10-12 14:37:40 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-10-12 14:37:40 +0200 |
commit | 8121e98210ada254bb146097f04c7e0345a2e206 (patch) | |
tree | d3c09802b595711b419847886fc9c387b2acb7d8 /src/index.php | |
parent | f61ba6ca60c9a8a0c218c554bd4ed06491306b3e (diff) |
Another few fixesv0.4.6
Diffstat (limited to 'src/index.php')
-rw-r--r-- | src/index.php | 6 |
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; } |