From 248a924df7b8ba8f75a14ad900432bd4b6b174dd Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Sun, 4 Dec 2022 21:16:48 +0800 Subject: [PATCH] chore(web): disable custom test --- web/app/controllers/problem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/controllers/problem.php b/web/app/controllers/problem.php index d58f991..88c8acb 100644 --- a/web/app/controllers/problem.php +++ b/web/app/controllers/problem.php @@ -100,7 +100,7 @@ if (UOJContest::cur()) { $submission_requirement = UOJProblem::cur()->getSubmissionRequirement(); $custom_test_requirement = UOJProblem::cur()->getCustomTestRequirement(); -$custom_test_enabled = $custom_test_requirement && $pre_submit_check_ret === true; +$custom_test_enabled = false; // $custom_test_requirement && $pre_submit_check_ret === true; function handleUpload($zip_file_name, $content, $tot_size) { global $is_participating;