Marius Burkard
2016-06-02 7646a216b83e4f055ad776be254e507139507e09
- fixed function call in previous commit
1 files modified
2 ■■■ changed files
server/lib/classes/cron.d/900-letsencrypt.inc.php 2 ●●● patch | view | raw | blame | history
server/lib/classes/cron.d/900-letsencrypt.inc.php
@@ -36,7 +36,7 @@
    public function onRunJob() {
        global $app, $conf;
        $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')) );
        if(is_executable($letsencrypt)) {
            $version = trim(exec($letsencrypt . ' --version 2>/dev/null'));
            if(preg_match('/^(\S+)\s+(\d+(\.\d+)+)$/', $version, $matches)) {