mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-08 16:08:41 +00:00
fix(problem/manage/data): data_dir
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
dfb317211e
commit
7b7f01dca1
@ -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>';
|
||||||
|
Loading…
Reference in New Issue
Block a user