We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba24468 commit 7646a21Copy full SHA for 7646a21
server/lib/classes/cron.d/900-letsencrypt.inc.php
@@ -36,7 +36,7 @@ class cronjob_letsencrypt extends cronjob {
36
public function onRunJob() {
37
global $app, $conf;
38
39
- $letsencrypt = array_shift( explode("\n", $this->_exec('which letsencrypt certbot /root/.local/share/letsencrypt/bin/letsencrypt')) );
+ $letsencrypt = array_shift( explode("\n", shell_exec('which letsencrypt certbot /root/.local/share/letsencrypt/bin/letsencrypt')) );
40
if(is_executable($letsencrypt)) {
41
$version = trim(exec($letsencrypt . ' --version 2>/dev/null'));
42
if(preg_match('/^(\S+)\s+(\d+(\.\d+)+)$/', $version, $matches)) {
0 commit comments