fix(problem/manage/data): data_dir
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2023-01-17 15:40:32 +08:00
parent dfb317211e
commit 7b7f01dca1
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -13,7 +13,7 @@ UOJProblem::cur()->userCanManage(Auth::user()) || UOJResponse::page403();
$problem = UOJProblem::info(); $problem = UOJProblem::info();
$problem_extra_config = UOJProblem::cur()->getExtraConfig(); $problem_extra_config = UOJProblem::cur()->getExtraConfig();
$data_dir = "/var/uoj_data/${problem['id']}"; $data_dir = "/var/uoj_data/{$problem['id']}";
function echoFileNotFound($file_name) { function echoFileNotFound($file_name) {
echo '<h5>', htmlspecialchars($file_name), '</h5>'; echo '<h5>', htmlspecialchars($file_name), '</h5>';