MDL-32094 do not show html markup in cron errors

This commit is contained in:
Petr Skoda 2012-03-18 18:43:47 +01:00
parent fabbf4398b
commit 990e4b0ee9

View File

@ -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();