From 47b154758e789e75ec597d88540cdb7f4e352225 Mon Sep 17 00:00:00 2001 From: Fbenas Date: Tue, 22 Aug 2017 01:07:51 +0100 Subject: Make sure we write the nginx conf --- src/Script/Command/Site/Create.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/Script') 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(''); -- cgit v1.2.3