diff --git a/uoj/1/app/controllers/problem_data_manage.php b/uoj/1/app/controllers/problem_data_manage.php index 1316284..a714f64 100644 --- a/uoj/1/app/controllers/problem_data_manage.php +++ b/uoj/1/app/controllers/problem_data_manage.php @@ -117,7 +117,9 @@ EOD; } $setfile = fopen($set_filename, "w"); fwrite($setfile, "use_builtin_judger on\n"); - fwrite($setfile, "use_builtin_checker ".$_POST['use_builtin_checker']."\n"); + if($_POST['use_builtin_checker'] != 'ownchk'){ + fwrite($setfile, "use_builtin_checker ".$_POST['use_builtin_checker']."\n"); + } fwrite($setfile, "n_tests ".$_POST['n_tests']."\n"); if($_POST['n_ex_tests']){ fwrite($setfile, "n_ex_tests ".$_POST['n_ex_tests']."\n"); @@ -801,6 +803,7 @@ EOD +