summaryrefslogtreecommitdiff
path: root/src/Script
diff options
context:
space:
mode:
authorPhil Burton <phil@pgburton.com>2017-08-22 10:10:29 +0100
committerPhil Burton <phil@pgburton.com>2017-08-22 10:10:29 +0100
commit7b1e62d0cbc3519c469b2afd4da712125707de66 (patch)
tree06ee38c18849f9b0c85c2eb82bded824e2ff34e6 /src/Script
parenta4170353515c254ab7404117e7d9b3f15887214a (diff)
parent47b154758e789e75ec597d88540cdb7f4e352225 (diff)
Merge branch 'master' of www.blatech.co.uk:FBeans/dipper
Diffstat (limited to 'src/Script')
-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('');