From edef5733b7668626a2d637d2ae73a7bcb6739e5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn?= Date: Mon, 21 Sep 2020 20:25:48 +0200 Subject: [PATCH] adding #45 --- app/Factories/NginxVhostFactory.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Factories/NginxVhostFactory.php b/app/Factories/NginxVhostFactory.php index da38edb..ea08365 100644 --- a/app/Factories/NginxVhostFactory.php +++ b/app/Factories/NginxVhostFactory.php @@ -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']); } });