mirror of
https://github.com/moodle/moodle.git
synced 2025-04-17 14:35:29 +02:00
MDL-32094 do not show html markup in cron errors
This commit is contained in:
parent
fabbf4398b
commit
990e4b0ee9
@ -81,6 +81,9 @@ if (check_browser_version('MSIE')) {
|
||||
@header('Content-Type: text/plain; charset=utf-8');
|
||||
}
|
||||
|
||||
// we do not want html markup in emulated CLI
|
||||
@ini_set('html_errors', 'off');
|
||||
|
||||
// execute the cron
|
||||
cron_run();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user