diff options
Diffstat (limited to 'src/private/autojudging.php')
| -rwxr-xr-x | src/private/autojudging.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/private/autojudging.php b/src/private/autojudging.php index ecf9fb6..e44aaeb 100755 --- a/src/private/autojudging.php +++ b/src/private/autojudging.php @@ -289,11 +289,9 @@ while(42) { } if(is_dir($dir . $ds . "problemdatalocal" . $ds . "output")) { echo "Using scripts and inputs/outputs from local package file\n"; - $s = file_get_contents($flocal); @copy($flocal, $dir . $ds . $run["inputname"]); - } else { - $s = file_get_contents($dir . $ds . $run["inputname"]); } + $s = file_get_contents($dir . $ds . $run["inputname"]); cleardir($dir . $ds . "problemdata"); cleardir($dir . $ds . "problemdatalocal"); if($cont) { |