File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -261,6 +261,7 @@ function _write_crontab() {
261261 continue ;
262262 }
263263
264+
264265 $ cron_line .= "\t{$ this ->parent_domain ['system_user ' ]}" ; //* running as user
265266 if ($ job ['type ' ] == 'url ' ) {
266267 $ trans = array (
@@ -275,6 +276,10 @@ function _write_crontab() {
275276 continue ;
276277 }
277278
279+ $ cron_line .= "\t{$ cron_config ['wget ' ]} --no-check-certificate --user-agent='Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0' -q -t 1 -T 7200 -O " . $ log_wget_target . " " . escapeshellarg ($ job ['command ' ]) . " " . $ log_target ;
280+
281+ } else {
282+
278283 $ web_root = '' ;
279284 if ($ job ['type ' ] == 'chrooted ' ) {
280285 if (substr ($ job ['command ' ], 0 , strlen ($ this ->parent_domain ['document_root ' ])) == $ this ->parent_domain ['document_root ' ]) {
@@ -285,6 +290,8 @@ function _write_crontab() {
285290 $ web_docroot_client = $ this ->parent_domain ['document_root ' ];
286291 }
287292
293+ $ web_root .= '/web ' ;
294+
288295 if (empty ($ this ->parent_domain ['php_cli_binary ' ])) {
289296 // PHP cli binary not set or default was selected, fallback to "/usr/bin/php"
290297 $ web_php_cli = '/usr/bin/php ' ;
You can’t perform that action at this time.
0 commit comments