From dd2b97aa6d146c1384776fcdcea4d74851aa674d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn?= Date: Sun, 9 Aug 2020 22:33:17 +0200 Subject: [PATCH] adding --- app/Commands/LetsEncryptRemoveCommand.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Commands/LetsEncryptRemoveCommand.php b/app/Commands/LetsEncryptRemoveCommand.php index 813a588..94f5ad4 100644 --- a/app/Commands/LetsEncryptRemoveCommand.php +++ b/app/Commands/LetsEncryptRemoveCommand.php @@ -43,7 +43,6 @@ class LetsEncryptRemoveCommand extends Command $domains = $this->argument('domain'); foreach($domains as $domain) { - $diretories = [ 'archive' => self::CERT_DIR.'archive/'.$domain, 'live' => self::CERT_DIR.'live/'.$domain, @@ -56,7 +55,7 @@ class LetsEncryptRemoveCommand extends Command if (!file_exists($diretory)) { $errors++; } else { - rmdir($archiv); + rmdir($diretory); } }