diff --git a/core/Commands/ImportPyplanet.php b/core/Commands/ImportPyplanet.php index e2aef3962..b70072cf1 100644 --- a/core/Commands/ImportPyplanet.php +++ b/core/Commands/ImportPyplanet.php @@ -127,7 +127,8 @@ protected function execute(InputInterface $input, OutputInterface $output) 'title_id' => $map->title, 'filename' => $map->file, 'uid' => $map->uid, - 'author' => $authorId + 'author' => $authorId, + 'folder' => dirname($map->file) ]); } diff --git a/core/Commands/ImportUaseco.php b/core/Commands/ImportUaseco.php index 9054cf201..03d750cef 100644 --- a/core/Commands/ImportUaseco.php +++ b/core/Commands/ImportUaseco.php @@ -167,6 +167,7 @@ protected function execute(InputInterface $input, OutputInterface $output) 'filename' => $map->Filename, 'author' => $author->id, 'uid' => $map->Uid, + 'folder' => dirname($map->Filename) ]); $bar->advance();