summaryrefslogtreecommitdiff
path: root/src/Script/Command/Site/Create.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Script/Command/Site/Create.php')
-rw-r--r--src/Script/Command/Site/Create.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Script/Command/Site/Create.php b/src/Script/Command/Site/Create.php
index c7936fd..81df87e 100644
--- a/src/Script/Command/Site/Create.php
+++ b/src/Script/Command/Site/Create.php
@@ -52,7 +52,7 @@ class Create extends SyCommand
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
- $taskCount = 6;
+ $taskCount = 9;
$name = $input->getArgument('name');
$domain = $input->getArgument('domain');
@@ -83,7 +83,8 @@ class Create extends SyCommand
);
$tasks['Creating nginx config file'] = new \App\Filesystem\CreateFile(
- CONFIG_ROOT . $name . '.conf'
+ CONFIG_ROOT . $name . '.conf',
+ include_once(DIPPER_ROOT . 'nginx/stub.php')
);
} catch (\Exception $e) {
$output->writeln('');