Logging
This commit is contained in:
@ -20,4 +20,5 @@ register_shutdown_function(function() {
|
||||
if ($error !== null and in_array($error['type'], $fatal_errors, true)) {
|
||||
error_log(json_encode($error).PHP_EOL,3, '/logs/fatal.log');
|
||||
}
|
||||
error_clear_last();
|
||||
});
|
||||
|
Reference in New Issue
Block a user