mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-25 00:50:32 +00:00
Update LetsEncryptSecureDomain.php
This commit is contained in:
parent
0c699059f5
commit
cf6095d9c6
1 changed files with 5 additions and 1 deletions
|
@ -39,7 +39,11 @@ class LetsEncryptSecureDomain
|
|||
'organization' => $generalSettings['organization_name'],
|
||||
])->render();
|
||||
|
||||
$exec = shell_exec($certbotHttpSecureCommand);
|
||||
$tmpFile = '/tmp/certbot-http-secure-command-'.$findDomain->id.'.sh';
|
||||
file_put_contents($tmpFile, $certbotHttpSecureCommand);
|
||||
$exec = dd("bash $tmpFile");
|
||||
|
||||
unlink($tmpFile);
|
||||
|
||||
$validateCertificates = [];
|
||||
|
||||
|
|
Loading…
Reference in a new issue