mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2025-04-21 02:44:36 +00:00
parent
ff16bfbc84
commit
48e4c56782
@ -85,7 +85,6 @@ class SyncProblemDataHandler {
|
||||
}
|
||||
|
||||
if (isset($this->problem_extra_config['dont_use_formatter']) || !is_file("{$this->upload_dir}/$file_name")) {
|
||||
exec("cp $src $dest -r", $output, $ret);
|
||||
$ret = UOJLocalRun::exec(['cp', $src, $dest, '-r']);
|
||||
} else {
|
||||
$ret = UOJLocalRun::formatter($src, $dest);
|
||||
|
Loading…
x
Reference in New Issue
Block a user