mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 14:48:41 +00:00
Revert "chore(web): disable custom test"
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This reverts commit 248a924df7
.
This commit is contained in:
parent
a1469a96ed
commit
382fecac89
@ -100,7 +100,7 @@ if (UOJContest::cur()) {
|
|||||||
|
|
||||||
$submission_requirement = UOJProblem::cur()->getSubmissionRequirement();
|
$submission_requirement = UOJProblem::cur()->getSubmissionRequirement();
|
||||||
$custom_test_requirement = UOJProblem::cur()->getCustomTestRequirement();
|
$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) {
|
function handleUpload($zip_file_name, $content, $tot_size) {
|
||||||
global $is_participating;
|
global $is_participating;
|
||||||
|
Loading…
Reference in New Issue
Block a user