diff options
author | Fbenas <philbeansburton@gmail.com> | 2017-08-22 01:07:51 +0100 |
---|---|---|
committer | Fbenas <philbeansburton@gmail.com> | 2017-08-22 01:07:51 +0100 |
commit | 47b154758e789e75ec597d88540cdb7f4e352225 (patch) | |
tree | 3e8ec0a763e2d72534a54e177af292ee7100fbcf /src/Script/Command/Site/Create.php | |
parent | 3de70e73fb53ada12a4d7d332853253523720511 (diff) |
Make sure we write the nginx conf
Diffstat (limited to 'src/Script/Command/Site/Create.php')
-rw-r--r-- | src/Script/Command/Site/Create.php | 5 |
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(''); |