From ff2926985d5d4c1ad84ef65a3050abd2e3660d67 Mon Sep 17 00:00:00 2001 From: Sidney Yau <2901402+s1dneyyau@users.noreply.github.com> Date: Sun, 6 Dec 2020 05:10:50 +0800 Subject: [PATCH] Update common.php Handle file not found --- common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.php b/common.php index 73c404d..c01cbae 100644 --- a/common.php +++ b/common.php @@ -419,7 +419,7 @@ function main($path) $files['error']['code'] = 'unknownError'; $files['error']['stat'] = 500; } - return message(''.getconstStr('Back').getconstStr('Home').'
' . $files['error']['message'] . '
'.getconstStr('Back').'', $files['error']['code'], $files['error']['stat']); + return message('', $files['error']['code'], $files['error']['stat']); } } }