add language strings (english only currently)

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2018-02-15 12:59:34 +01:00
parent a82d5cf764
commit 0fc2fbaf09
3 changed files with 70 additions and 35 deletions

View File

@@ -61,7 +61,7 @@ function standard_error($errors = '', $replacer = '', $throw_exception = false)
}
if ($throw_exception) {
throw new Exception($error);
throw new Exception($error, 400);
}
eval("echo \"" . getTemplate('misc/error', '1') . "\";");
exit;