Skip to content

Commit eab22ad

Browse files
author
Marius Burkard
committed
Addition to commit dda2b47 for #5033
1 parent 9ceff3c commit eab22ad

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

server/cron.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@
7272
$app->uses('modules,ini_parser,file,services,getconf,system,cron,functions');
7373
$app->load('libdatetime,cronjob');
7474

75-
$app->modules->loadModules('web');
76-
7775
// read all cron jobs
7876
$path = SCRIPT_PATH . '/lib/classes/cron.d';
7977
if(!is_dir($path)) die('Cron path missing!');

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public function onPrepare() {
4444
public function onBeforeRun() {
4545
global $app;
4646

47+
$app->modules->loadModules('web_module');
4748
return parent::onBeforeRun();
4849
}
4950

0 commit comments

Comments
 (0)