Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Webslice
ISPConfig 3
Commits
eab22adb
Commit
eab22adb
authored
Jun 26, 2019
by
Marius Burkard
Browse files
Addition to commit
dda2b474
for #5033
parent
9ceff3c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
server/cron.php
View file @
eab22adb
...
...
@@ -72,8 +72,6 @@ $conf['server_id'] = intval($conf['server_id']);
$app
->
uses
(
'modules,ini_parser,file,services,getconf,system,cron,functions'
);
$app
->
load
(
'libdatetime,cronjob'
);
$app
->
modules
->
loadModules
(
'web'
);
// read all cron jobs
$path
=
SCRIPT_PATH
.
'/lib/classes/cron.d'
;
if
(
!
is_dir
(
$path
))
die
(
'Cron path missing!'
);
...
...
server/lib/classes/cron.d/900-letsencrypt.inc.php
View file @
eab22adb
...
...
@@ -44,6 +44,7 @@ class cronjob_letsencrypt extends cronjob {
public
function
onBeforeRun
()
{
global
$app
;
$app
->
modules
->
loadModules
(
'web_module'
);
return
parent
::
onBeforeRun
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment