1
1
mirror of https://github.com/renbaoshuo/S2OJ.git synced 2025-04-19 02:34:37 +00:00

Revert "chore(web): disable custom test"

This reverts commit 248a924df7b8ba8f75a14ad900432bd4b6b174dd.
This commit is contained in:
Baoshuo Ren 2022-12-09 20:27:54 +08:00
parent a1469a96ed
commit 382fecac89
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

@ -100,7 +100,7 @@ if (UOJContest::cur()) {
$submission_requirement = UOJProblem::cur()->getSubmissionRequirement();
$custom_test_requirement = UOJProblem::cur()->getCustomTestRequirement();
$custom_test_enabled = false; // $custom_test_requirement && $pre_submit_check_ret === true;
$custom_test_enabled = $custom_test_requirement && $pre_submit_check_ret === true;
function handleUpload($zip_file_name, $content, $tot_size) {
global $is_participating;