mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-08 14:18:40 +00:00
fix(problem/manage/data): problem_conf
This commit is contained in:
parent
1280c528e4
commit
760f8e7c5e
@ -324,7 +324,7 @@ function getDataDisplayer() {
|
||||
return $disp;
|
||||
} elseif ($judger_name === 'on') {
|
||||
if ($problem_conf->isOn('interaction_mode')) {
|
||||
if (isset($problem_conf['use_builtin_checker'])) {
|
||||
if ($problem_conf->getVal('use_builtin_checker', null)) {
|
||||
$disp->addTab('checker', function ($self) {
|
||||
echo '<h4>use builtin checker: ', $self->problem_conf['use_builtin_checker']['val'], '</h4>';
|
||||
});
|
||||
@ -336,7 +336,7 @@ function getDataDisplayer() {
|
||||
addSrcTab($disp, 'standard', 'std');
|
||||
addSrcTab($disp, 'validator', 'val');
|
||||
}
|
||||
if (isset($problem_conf->conf['interaction_mode'])) {
|
||||
if ($problem_conf->isOn('interaction_mode')) {
|
||||
addSrcTab($disp, 'interactor', 'interactor');
|
||||
}
|
||||
return $disp;
|
||||
|
Loading…
Reference in New Issue
Block a user