mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-23 05:51:53 +00:00
chore(problem/resources): create folder when create problem
This commit is contained in:
parent
32b92f9311
commit
799bec0e5b
@ -5,6 +5,7 @@
|
||||
function dataNewProblem($id) {
|
||||
mkdir("/var/uoj_data/upload/$id");
|
||||
mkdir("/var/uoj_data/$id");
|
||||
mkdir(UOJContext::storagePath() . "/problem_resources/$id");
|
||||
|
||||
UOJLocalRun::execAnd([
|
||||
['cd', '/var/uoj_data'],
|
||||
|
Loading…
Reference in New Issue
Block a user