Change the default error_reporting level to include all fatal errors (#4165)

* Change the default error_reporting level
This will hopefully save confusion when there are things like syntax errors and missing required files.

* Add E_PARSE error as well.
This is a fatal error too.
This commit is contained in:
Tony Murray
2016-08-22 17:55:21 -05:00
committed by Neil Lathwood
parent 9b3fbfbb5e
commit e920e28e48

View File

@@ -21,7 +21,7 @@
//
// Please don't edit this file -- make changes to the configuration array in config.php
//
error_reporting(E_ERROR);
error_reporting(E_ERROR|E_PARSE|E_CORE_ERROR|E_COMPILE_ERROR);
function set_debug($debug) {