File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,16 +37,16 @@ public function onAfterSQL() {
3737 } elseif (preg_match ('/^\w+=/ ' , $ line )) {
3838 if (preg_match ('/\s/ ' , $ line )) {
3939 // warning line with env var and space!
40- swriteln ($ inst ->lng ('[WARNING] Cron line in file ' . $ cron_file . ' contains environment variable. ' ));
40+ swriteln ($ inst ->lng ("\n" . '[WARNING] Cron line in file ' . $ cron_file . ' contains environment variable. ' . "\n" ));
4141 }
4242 } elseif (!isset ($ fields [5 ])) {
4343 // invalid line (missing user)
44- swriteln ($ inst ->lng ('[WARNING] Cron line in file ' . $ cron_file . ' misses user field. ' ));
44+ swriteln ($ inst ->lng ("\n" . '[WARNING] Cron line in file ' . $ cron_file . ' misses user field. ' . "\n" ));
4545 } else {
4646 $ check_filename = trim ($ fields [5 ]) . $ check_suffix ;
4747 if (substr ($ cron_file , -strlen ($ check_filename )) != $ check_filename ) {
4848 // warning user not equal to file name
49- swriteln ($ inst ->lng ('[WARNING] SUSPECT USER IN CRON FILE ' . $ cron_file . '! CHECK CRON FILE FOR MALICIOUS ENTRIES! ' ));
49+ swriteln ($ inst ->lng ("\n" . '[WARNING] SUSPECT USER IN CRON FILE ' . $ cron_file . '! CHECK CRON FILE FOR MALICIOUS ENTRIES! ' . "\n" ));
5050 }
5151 }
5252 }
You can’t perform that action at this time.
0 commit comments