fix: 1e775d0d02
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2023-01-30 21:43:38 +08:00
parent 713b695c17
commit aa6bf6a363
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -6,8 +6,8 @@ return function ($type) {
$problems = DB::selectAll("select id from problems"); $problems = DB::selectAll("select id from problems");
foreach ($problems as $id) { foreach ($problems as $row) {
mkdir(UOJContext::storagePath() . "/problem_resources/$id"); mkdir(UOJContext::storagePath() . "/problem_resources/{$row['id']}");
} }
} }
}; };