From 48e4c56782b16642716377202b8ac6edfdc5e15f Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Sat, 12 Nov 2022 20:25:06 +0800 Subject: [PATCH] fix(web): SyncProblemDataHandler::copy_to_prepare() --- web/app/libs/uoj-data-lib.php | 1 - 1 file changed, 1 deletion(-) diff --git a/web/app/libs/uoj-data-lib.php b/web/app/libs/uoj-data-lib.php index c1e58ac..0a27679 100644 --- a/web/app/libs/uoj-data-lib.php +++ b/web/app/libs/uoj-data-lib.php @@ -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);