From 8b99447b31f6157392c3d0745da929c73d6197b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn?= Date: Mon, 21 Sep 2020 20:51:28 +0200 Subject: [PATCH] adding #45 --- app/Helpers/NginxVhostHelper.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Helpers/NginxVhostHelper.php b/app/Helpers/NginxVhostHelper.php index 0662a02..c9a367d 100644 --- a/app/Helpers/NginxVhostHelper.php +++ b/app/Helpers/NginxVhostHelper.php @@ -83,7 +83,10 @@ class NginxVhostHelper if (count($matches) >= 2) { $result['ssl'] = true; - var_dump($matches); die(); + // @TODO find a regex that ignore the ";" + foreach($matches as $index => $match) { + $matches[$index] = str_replace(';', '', $match); + } if (file_exists($matches[0]) && file_exists($matches[1])) { $result['ssl_certificate_exists'] = true;