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 bd6f595 commit 0af38c4Copy full SHA for 0af38c4
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( split("\n", `which letsencrypt /root/.local/share/letsencrypt/bin/letsencrypt`) );
+ $letsencrypt = array_shift( explode("\n", `which letsencrypt /root/.local/share/letsencrypt/bin/letsencrypt`) );
40
if(is_executable($letsencrypt)) {
41
exec($letsencrypt . ' -n renew');
42
$app->services->restartServiceDelayed('httpd', 'reload');
0 commit comments