diff options
author | Minteck <contact@minteck.org> | 2022-12-10 22:27:08 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-12-10 22:27:08 +0100 |
commit | 30303a3ad0d0f31d93c25f42bfd10d70e8277b72 (patch) | |
tree | 622964e7895c759232aff28230394aa5cc747be9 /includes/short.inc | |
parent | f850a8a53efd719fef6c8784c5af7b89dd9a6a2f (diff) | |
download | pluralconnect-30303a3ad0d0f31d93c25f42bfd10d70e8277b72.tar.gz pluralconnect-30303a3ad0d0f31d93c25f42bfd10d70e8277b72.tar.bz2 pluralconnect-30303a3ad0d0f31d93c25f42bfd10d70e8277b72.zip |
Update
Diffstat (limited to 'includes/short.inc')
-rw-r--r-- | includes/short.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/short.inc b/includes/short.inc index 6883cc7..98efd20 100644 --- a/includes/short.inc +++ b/includes/short.inc @@ -4,7 +4,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/functions.inc"; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/bitset.inc"; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/score.inc"; -global $toplevel; +global $toplevel; global $lang; global $pages; header("Content-Type: text/plain"); $members = scoreOrderGlobal(); @@ -45,8 +45,8 @@ if (in_array($toplevel, array_keys($list)) && $list[$toplevel]) { if ($toplevel !== "unknown") { header("Location: " . $list[$toplevel]); } else { - header("Location: /?error=Page not found: " . strip_tags($toplevel)) and die(); + header("Location: /?error=" . $lang["app"]["page"] . " " . strip_tags($toplevel)) and die(); } } else { - header("Location: /?error=Page not found: " . strip_tags($toplevel)) and die(); + header("Location: /?error=" . $lang["app"]["page"] . " " . strip_tags($toplevel)) and die(); }
\ No newline at end of file |