mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2025-04-18 18:14:36 +00:00
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…
x
Reference in New Issue
Block a user