Browse Source

adding

release/0.1
Björn 4 years ago
parent
commit
dd2b97aa6d
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      app/Commands/LetsEncryptRemoveCommand.php

+ 1
- 2
app/Commands/LetsEncryptRemoveCommand.php View File

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


Loading…
Cancel
Save