diff --git a/libs/Console/Generate.php b/libs/Console/Generate.php index 7960d45..7bbac92 100644 --- a/libs/Console/Generate.php +++ b/libs/Console/Generate.php @@ -55,6 +55,8 @@ class Generate extends SymfonyCommand $daux->setDocumentationPath($daux->getParams()['docs_directory']); + $daux->setThemesPath($daux->getParams()['themes_directory']); + $daux->initializeConfiguration($input->getOption('configuration')); return $daux; diff --git a/libs/GeneratorHelper.php b/libs/GeneratorHelper.php index 65c7cc6..a970bc4 100644 --- a/libs/GeneratorHelper.php +++ b/libs/GeneratorHelper.php @@ -16,10 +16,10 @@ class GeneratorHelper mkdir($path); } - mkdir($path . DIRECTORY_SEPARATOR . 'resources'); + mkdir($path . DIRECTORY_SEPARATOR . 'themes'); static::copyRecursive( - $local_base . DIRECTORY_SEPARATOR . 'resources', - $path . DIRECTORY_SEPARATOR . 'resources' + $local_base . DIRECTORY_SEPARATOR . 'themes', + $path . DIRECTORY_SEPARATOR . 'themes' ); }