mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 14:48:41 +00:00
fix: 1e775d0d02
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
713b695c17
commit
aa6bf6a363
@ -6,8 +6,8 @@ return function ($type) {
|
||||
|
||||
$problems = DB::selectAll("select id from problems");
|
||||
|
||||
foreach ($problems as $id) {
|
||||
mkdir(UOJContext::storagePath() . "/problem_resources/$id");
|
||||
foreach ($problems as $row) {
|
||||
mkdir(UOJContext::storagePath() . "/problem_resources/{$row['id']}");
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user