Browse Source

adding #45

master
Björn 4 years ago
parent
commit
edef5733b7
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/Factories/NginxVhostFactory.php

+ 2
- 2
app/Factories/NginxVhostFactory.php View File

@ -148,10 +148,10 @@ class NginxVhostFactory
->ask();
$email = $result->fetch();
system(base_path().' php mcp lets-encrypt:add '.$email.' '.$vhost['domain']);
system('php '.base_path().'/mcp lets-encrypt:add '.$email.' '.$vhost['domain']);
if ($vhost['redirect_www'] === true) {
system(base_path().' php mcp lets-encrypt:add '.$email.' www.'.$vhost['domain']);
system('php '.base_path().' mcp lets-encrypt:add '.$email.' www.'.$vhost['domain']);
}
});


Loading…
Cancel
Save