mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 14:08:42 +00:00
fix(web): SyncProblemDataHandler::copy_to_prepare()
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
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…
Reference in New Issue
Block a user