Set error handler to handle fewer errors
This commit is contained in:
parent
827dcd69da
commit
9cb0406f28
@ -93,7 +93,7 @@ function exception_error_handler($errno, $errstr, $errfile, $errline)
|
|||||||
|
|
||||||
// Do this after the two compatibility checks for cleaner output
|
// Do this after the two compatibility checks for cleaner output
|
||||||
// Note that this will throw exceptions on notices
|
// Note that this will throw exceptions on notices
|
||||||
set_error_handler("exception_error_handler", -1);
|
set_error_handler("exception_error_handler", E_ERROR | E_WARNING | E_NOTICE);
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user