Skip to content

Commit 7646a21

Browse files
author
Marius Burkard
committed
- fixed function call in previous commit
1 parent ba24468 commit 7646a21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/lib/classes/cron.d/900-letsencrypt.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class cronjob_letsencrypt extends cronjob {
3636
public function onRunJob() {
3737
global $app, $conf;
3838

39-
$letsencrypt = array_shift( explode("\n", $this->_exec('which letsencrypt certbot /root/.local/share/letsencrypt/bin/letsencrypt')) );
39+
$letsencrypt = array_shift( explode("\n", shell_exec('which letsencrypt certbot /root/.local/share/letsencrypt/bin/letsencrypt')) );
4040
if(is_executable($letsencrypt)) {
4141
$version = trim(exec($letsencrypt . ' --version 2>/dev/null'));
4242
if(preg_match('/^(\S+)\s+(\d+(\.\d+)+)$/', $version, $matches)) {

0 commit comments

Comments
 (0)