1
0
Fork 0
mirror of synced 2024-06-03 03:14:50 +12:00

Removed env config

This commit is contained in:
Eldad Fux 2020-06-30 00:42:21 +03:00
parent ce82bb872e
commit 8596937210

View file

@ -104,7 +104,7 @@ class CertificatesV1
throw new Exception('Renew isn\'t required');
}
$staging = (Config::getParam('env') === App::MODE_TYPE_PRODUCTION) ? '' : ' --dry-run';
$staging = (App::isProduction()) ? '' : ' --dry-run';
$response = \shell_exec("certbot certonly --webroot --noninteractive --agree-tos{$staging} \
--email ".App::getEnv('_APP_SYSTEM_EMAIL_ADDRESS', 'security@localhost.test')." \