|
@ -43,7 +43,6 @@ class LetsEncryptRemoveCommand extends Command |
|
|
$domains = $this->argument('domain'); |
|
|
$domains = $this->argument('domain'); |
|
|
|
|
|
|
|
|
foreach($domains as $domain) { |
|
|
foreach($domains as $domain) { |
|
|
|
|
|
|
|
|
$diretories = [ |
|
|
$diretories = [ |
|
|
'archive' => self::CERT_DIR.'archive/'.$domain, |
|
|
'archive' => self::CERT_DIR.'archive/'.$domain, |
|
|
'live' => self::CERT_DIR.'live/'.$domain, |
|
|
'live' => self::CERT_DIR.'live/'.$domain, |
|
@ -56,7 +55,7 @@ class LetsEncryptRemoveCommand extends Command |
|
|
if (!file_exists($diretory)) { |
|
|
if (!file_exists($diretory)) { |
|
|
$errors++; |
|
|
$errors++; |
|
|
} else { |
|
|
} else { |
|
|
rmdir($archiv); |
|
|
|
|
|
|
|
|
rmdir($diretory); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|