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