|
|
@ -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']); |
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|